[Google Maps API v3] Re: map.getBounds() returning nil

2011-07-18 Thread Martin™
Could this be a timing issue - your map is not fully initialised? http://code.google.com/apis/maps/documentation/javascript/reference.html#Map try this: google.maps.event.addListenerOnce(myMap, 'idle', function(){ var bounds=myMap.getBounds(); alert(bounds.toString()); }); Add such a

[Google Maps API v3] Re: MarkerClusterer - The clustered markers are not shown.

2011-07-18 Thread Daejeon
Thank Rossko :) U have just solved my problem :) -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/6Dn7PNN_WqgJ. To post to this

[Google Maps API v3] Re: Earth on Google Map API V3

2011-07-18 Thread sgiddings
Thanks for this Chris, I have added a comment to the change/enhancement request. On Jul 18, 2:41 am, Chris Broadfoot c...@google.com wrote: On Sat, Jul 16, 2011 at 6:15 PM, sgiddings mr.s.giddi...@gmail.com wrote: If maps v3 no longer requires a key, shouldn't the earth utility library

Re: [Google Maps API v3] Polyline not showing/working in Internet Explorer

2011-07-18 Thread Sam Doyle
Also your markup is wrong, which I think is the issue. Remove your canvas holder from the table __ Sam Doyle @sam_doyle On 18 Jul 2011, at 01:24, fpm_user flightplanmon...@gmail.com wrote: Here is my javascript for my polyline. Its not showing up on Internet Explorer for some

[Google Maps API v3] Re: Polyline not showing/working in Internet Explorer

2011-07-18 Thread Rossko
Never mind the div, what is a body doing in the middle of a table fragment?! Guess - there are two body but only one has the onload -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to

[Google Maps API v3] Re: Remove Street names

2011-07-18 Thread Katarzyna Derc
hey you have to create a styled map indeed Before you start digging in the docs check out this useful sample: http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html where you can build the styles interactively Kasia On Jul 17, 5:30 pm, zoff1983 zoff1...@gmail.com wrote:

[Google Maps API v3] Geocoding service returns different results to the Geocoding api

2011-07-18 Thread sgiddings
When I try to encode this address : 74, avenue des Druides, 56342 Carnac with the Geocoding service of the maps api, it returns the correct position without any problem. lat/lng: 47.57361320, -3.07203240 However, when I encode with the Geocoding web service, it returns the following location :

[Google Maps API v3] Re: map.getBounds() returning nil

2011-07-18 Thread geocode...@gmail.com
On Jul 16, 6:54 pm, SamSpade georgeleont...@gmail.com wrote: I have a Map object with a Center and Zoom set on it, but for some reason the getBounds() method still returns nil. Any ideas on what can be going wrong? A lot of the v3 API is asynchronous. If you need to get the bounds, you need

[Google Maps API v3] Re: Load new KML overlay on zoom change

2011-07-18 Thread Adam James
Thanks Larry. Would it be possible to point me in the direction of some example code- I'm new to this and don't really know how/where to implement the above. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view this

[Google Maps API v3] Re: Google maps loaded without errors, but it's not showed...

2011-07-18 Thread dump
Thanks, I have added calling initialize function, but the map is not loaded nowFithermore, I have added test-page on my site - http://xn--80ajuvf.xn--p1ai/map.htm It works right and http://xn--80ajuvf.xn--p1ai works is not right. Why? On Jul 18, 1:27 pm, geocode...@gmail.com

Re: [Google Maps API v3] Re: Google maps loaded without errors, but it's not showed...

2011-07-18 Thread Andrew Leach
On 18 July 2011 12:43, dump dum...@gmail.com wrote: Thanks, I have added calling initialize function, but the map is not loaded nowFithermore, I have added test-page on my site - http://xn--80ajuvf.xn--p1ai/map.htm It works right and http://xn--80ajuvf.xn--p1ai works is not right.

[Google Maps API v3] Changing marker icon

2011-07-18 Thread gdp
Hi - the function below is called to create a set of markers on a map. My problem is that within the marker click listener I am trying to change the icon image. What is in fact happening is that the last marker to be added to the map ends up showing my 'special' icon as soon as it is drawn and the

[Google Maps API v3] kml string adding to map

2011-07-18 Thread jude mwenda
Hi, I have been having some issues with API V3 where i have a KML string that i would like to parse to the map. Any pointers on going about this? -- Regards, Jude Mwenda Skype id: jmwenda Twitter: www.twitter.com/judemwenda Web: www.africangeogeek.com Was ist mein Leben, wenn ich nicht mehr

[Google Maps API v3] Re: Load new KML overlay on zoom change

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 7:10 am, Adam James adam.asj.ja...@gmail.com wrote: Thanks Larry. Would it be possible to point me in the direction of some example code- I'm new to this and don't really know how/where to implement the above. Start with the documentation, it has examples of most of what you need,

[Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 7:55 am, gdp tidy...@googlemail.com wrote: Hi - the function below is called to create a set of markers on a map. My problem is that within the marker click listener I am trying to change the icon image. What is in fact happening is that the last marker to be added to the map ends

[Google Maps API v3] Re: kml string adding to map

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 8:06 am, jude mwenda judemwe...@gmail.com wrote: Hi, I have been having some issues with API V3 where i have a KML string that i would like to parse to the map. Any pointers on going about this? How complex is the KML string? I have a modified version of geoxml3 that can parse a

[Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread gdp
unfortunately hidden in a corporate internet :( On Jul 18, 1:22 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Jul 18, 7:55 am, gdp tidy...@googlemail.com wrote: Hi - the function below is called to create a set of markers on a map. My problem is that within themarkerclick

[Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 8:36 am, gdp tidy...@googlemail.com wrote: unfortunately hidden in a corporate internet :( You can fix that, I can't. http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical -- Larry On Jul 18, 1:22 pm, geocode...@gmail.com geocode...@gmail.com

[Google Maps API v3] Re: Problems dragging routes in Firefox

2011-07-18 Thread Leigh
Thanks David, I know that the description is weak, but it's the best I can do. It really very hard to explain what I see, but basically when you mouse over the route a small white circle appears (the new waypoint you will create if you drag the route) and if you click it, you can start to drag

[Google Maps API v3] Re: Polyline not showing/working in Internet Explorer

2011-07-18 Thread fpm_user
Here is the link: http://flightplanmonkey.com/mapsearch.php What is a canvas holder? And how do I need to write the code for that work properly? Im not sure how to remove the last hanging comma as I am using a php array code which includes a comma at the end. On Jul 18, 5:26 am, Rossko

[Google Maps API v3] Re: Polyline not showing/working in Internet Explorer

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 10:20 am, fpm_user flightplanmon...@gmail.com wrote: I took off the comma at the end and moved the body tag out of the table. It works in IE now. But my problem is how do I write the php array code to not include the last comma? That is a PHP/coding problem, I'm sure it has been

Re: [Google Maps API v3] Re: Polyline not showing/working in Internet Explorer

2011-07-18 Thread Richard Quadling
?php $data = array(1,2,3); echo implode(',', $data); ? outputs ... 1,2,3 Extend as you see fit. Maybe ... ?php $data = array(array(0,-180), array(180,0)); $flight = 'var flightPlanCoordinates = [' . PHP_EOL . implode ( ',' . PHP_EOL,

[Google Maps API v3] Is it possible to add a kml but center the map to another location?

2011-07-18 Thread az
I have a kml containing some points, its center is say, lat 45 long 50 When I first initialize the map i do it with coords lat 40 long 10, but it always centers itself on the kml's center. Is it posible to make the map center on 40,40 even if the kml is not visible in this extent? -- You

[Google Maps API v3] Re: Is it possible to add a kml but center the map to another location?

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 10:54 am, az pmilen...@gmail.com wrote: I have a kml containing some points, its center is say, lat 45 long 50 When I first initialize the map i do it with coords lat 40 long 10, but it always centers itself on the kml's center. Is it posible to make the map center on 40,40 even if

[Google Maps API v3] Tools (zoom, scale, etc missing all of a sudden.

2011-07-18 Thread Rodrigo Cea
All the maps on the our site: http://www.suelos.cl/ http://www.suelos.cl/propiedades/propiedad-en-renca/ http://www.suelos.cl/necesidades/busco-terreno-industrial-en-cerrillos/ etc... suddenly (since at least last Friday) are missing their tools, ie: zoom, scale and minimap (name?). We haven't

[Google Maps API v3] Embedded map is different to the map of the same location on maps.google.com

2011-07-18 Thread Tim Hill
After finding a location on the maps.google.com website, I embedded the map into a web page, using the Google Maps Javascript API V3. Strangely, it seems as if the actual map data is different after I have done this! Looking at the API embedded map, the streets are less detailed, and are not

[Google Maps API v3] The direction api in v3, does that consider live traffic data while calculating route?

2011-07-18 Thread shah
The maps api offers service called Direction API. The documentation doesnt mention clearly about whether it consider traffic data while calculating route or not. I have noticed that the official maps.google.com site,does consider the traffic data while providing the directions . Is that true for

[Google Maps API v3] Directions API Google Maps

2011-07-18 Thread James Cox
Hi there This is a complete newb question, but I would be truly grateful for any assistance at all with this. I would like to make a map exactly like this: https://ville-saintraphael.fr/typo3conf/ext/parkings/maps/index.php?type=voiriepayant But for a different location, I am not sure of the

Re: [Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread Florian Behr
Then Read the Terms of Service. Gmaps API is for public use only. 2011/7/18 gdp tidy...@googlemail.com unfortunately hidden in a corporate internet :( On Jul 18, 1:22 pm, geocode...@gmail.com geocode...@gmail.com wrote: On Jul 18, 7:55 am, gdp tidy...@googlemail.com wrote: Hi - the

[Google Maps API v3] Clicking First Step in Directions Renderer Zooms to Random Location

2011-07-18 Thread Justin Ingram
Hello, I'm having an issue with the V3 Google Maps API Directions Panel. Directions are loaded correctly on the map as well as in the directions panel, however clicking one of the directions in the panel causes unexpected behavior. The first one of the steps clicked will zoom the map to a

[Google Maps API v3] How can i toggle the controls such as Zoom, Pan, Scale, MapType, Street View, Overview Map controls in Maps API V3?

2011-07-18 Thread shiva
Hello Everybody, I am new to Google Maps API but I am familiar with Google Earth Plugin API. I wanted know how to toggle (hide/show) the Zoom, Pan, Scale, MapType, Street View, Overview Map controls in Maps API V3, which can be easily achieved in Google Earth Plugin API - like in the following

[Google Maps API v3] Re: Is it possible to add a kml but center the map to another location?

2011-07-18 Thread samsoe
just add preserve viewport var kml_layer = new google.maps.KmlLayer('http://some.kmz', {preserveViewport: true}); -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view this discussion on the web visit

Re: [Google Maps API v3] How can i toggle the controls such as Zoom, Pan, Scale, MapType, Street View, Overview Map controls in Maps API V3?

2011-07-18 Thread Shreerang Patwardhan
Hi Shiva, You will find the following example on my blog helpful... http://shreerangpatwardhan.blogspot.com/2011/07/playing-with-map-controls.html Hope this helps! -Shreerang On Mon, Jul 18, 2011 at 9:59 PM, shiva shiva.s...@gmail.com wrote: Hello Everybody, I am new to Google Maps API

Re : Re: [Google Maps API v3] Re : problem with marker drop

2011-07-18 Thread bezo27
Hi Luke, here is my first message about this issue with more details : = http://code.google.com/intl/fr/apis/maps/documentation/javascript/forum.html?place=topic%2Fgoogle-maps-js-api-v3%2FtCANUqnUU68%2Fdiscussion Thanks in advance for your help, Hope to hear from you soon, Regards Luc --

[Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread gdp
Thanks for such friendly responses - this project is on a company intranet, its not a profit making thing - just me messing about trying to provide my co-workers with a tool - it is impossible for me to make it public without setting up a duplicate site which would involve me having to make it all

Re: [Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread Andrew Leach
On 18 July 2011 19:38, gdp tidy...@googlemail.com wrote: Thanks for such friendly responses - this project is on a company intranet, One problem is that not many people want to assist with breaking the Terms of Use. They are restrictive enough already; we don't really want Google to make them

Re: [Google Maps API v3] How can i toggle the controls such as Zoom, Pan, Scale, MapType, Street View, Overview Map controls in Maps API V3?

2011-07-18 Thread shiva
Hello Shreerang, Thanks for replying. That worked. Is there a direct way to find whether the controls already visible/enabled or vice versa, i.e, the current status of the control on the map? Regards, Shiva -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] Default value for autocomplete and autocomplete geocode results vs. places search geocode results.

2011-07-18 Thread drew
Hi, I would like the user to be able to select an address from the autocomplete or just select his current location. Is there a way to set a default for the autocomplete so that I can set the default to the current address of the user? I tried querying the places api for the location with types

[Google Maps API v3] Did you find a fix

2011-07-18 Thread GQ
Hi, Saw your issue with the google maps sensitivity. Did you find a fix? We're having the same issues and from what we can tell, it's been introduced recently. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this

[Google Maps API v3] Re: Changing marker icon

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 2:38 pm, gdp tidy...@googlemail.com wrote: Thanks for such friendly responses - this project is on a company intranet, its not a profit making thing - just me messing about trying to provide my co-workers with a tool That is against the terms of use unless you have a Premier

[Google Maps API v3] Draw thousands of objects (markers, infowindow, polylines, circles, polygons)

2011-07-18 Thread AlbertoHN
Hi! The problem is that I need to draw thousands of objects (not cluster them). the average amount is 1500. I have solved already the problem of 5000 markers aproximately using custom overlay, but I stil can't find examples creating infowindows, polylines, circles and polygons. If anyone can

[Google Maps API v3] Over-the-Pole Boxes with LatLngBounds

2011-07-18 Thread Bob Pollack
As discussed in http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/16a7ec0ed7b9298d, a lat-long box is specifed by it southwest and northeast corners. The SW corner is the first one, so the western edge of the box is always given by the first parameter, even when this makes

[Google Maps API v3] Re: Over-the-Pole Boxes with LatLngBounds

2011-07-18 Thread Bob Pollack
If you don't mind, can you please change that 167 in the second paragraph to 347. Thanks. On Mon, Jul 18, 2011 at 4:20 PM, Bob Pollack robert.h.poll...@gmail.comwrote: As discussed in http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/16a7ec0ed7b9298d , a lat-long box

[Google Maps API v3] Remove or make small text and transparent Address is approximate

2011-07-18 Thread Andy
During street view, can Google please remove or make small text and transparent for the label Address is approximate?? I have a map of 200 by 180 w/h map on my app and this label is seriously getting on the way from viewing the map. Thanks. -- You received this message because you are

[Google Maps API v3] Reverse Geocoding does not works if I return the result in a function

2011-07-18 Thread thebit
Hello, I have the following problem: I wrote a function that converts coordinates into formatted address via geocode and I put the code in a function (in way to reutilise that). * function coordinates2Address(latLng) {

[Google Maps API v3] Re: Street View issue with Firefox 5

2011-07-18 Thread Mike Robbins
Hey Luke or other Google folk. do you have any timeline on when (or if!) webGL will be re-implemented for the V3 api. I'm taking a wild guess that this might hinge around CORS adoption? will this happen? are there any other factors that might play in happening or not? Thanks. On Jun 23, 1:02 am,

[Google Maps API v3] Re: Reverse Geocoding does not works if I return the result in a function

2011-07-18 Thread geocode...@gmail.com
On Jul 18, 6:44 pm, thebit the-...@email.it wrote: Hello, I have the following problem: I wrote a function that converts coordinates into formatted address via geocode and I put the code in a function (in way to reutilise that). * If I print the value with an

[Google Maps API v3] how can i click marker (photo) and change zoom level in geoxml3?

2011-07-18 Thread Christopher Watson
hey all, How can I make the zoom level set to a certain level when any marker is clicked? i want them to be able to read the words on an overlay that i've added. i found this: http://code.google.com/apis/maps/documentation/javascript/events.html google.maps.event.addListener(marker,

[Google Maps API v3] 3 of the same photo appearing when using geoxml3?

2011-07-18 Thread Christopher Watson
hey all, quick version, i added photos to a map using picasa. i then downlaoded the kml of that map in picasa and renamed it as a .xml extension but for some reason 3 photos appear of the same? the picasa link:

[Google Maps API v3] how can i overlay multiple images into the same map?

2011-07-18 Thread Christopher Watson
hey i have this map, how can i load more images into the overlay layer? i have one overlay in one part of the map but then i want to load another in an different part of the same map? here's my map: http://visualisationmagazine.com/dineography.htm thanks in advance chris -- You received

[Google Maps API v3] Re: how can i overlay multiple images into the same map?

2011-07-18 Thread Rossko
i have one overlay in one part of the map but then i want to load another in an different part of the same map? I see several icon images on your map already. Would you not just add more placemarks to your KML? -- You received this message because you are subscribed to the Google Groups

[Google Maps API v3] Re: 3 of the same photo appearing when using geoxml3?

2011-07-18 Thread Rossko
quick version, i added photos to a map using picasa. i then downlaoded the kml of that map in picasa and renamed it as a .xml extension but for some reason 3 photos appear of the same? Picasa has put each of your photos in its own placemark in the KML. All placemarks are placed on the map.

[Google Maps API v3] Re: Clustering/Grouping different markers under the same cluster

2011-07-18 Thread Daejeon
http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/src/markerclusterer.js I am currently trying marker clustering as well, and I able to cluster different category under same cluster by using the library above. On Saturday, 16 July 2011 00:26:02 UTC+8, julienhelios

Re: [Google Maps API v3] Re: Clustering/Grouping different markers under the same cluster

2011-07-18 Thread Luke Mahé
FYI that library is for V2 - you'll want the V3 library - http://code.google.com/p/google-maps-utility-library-v3/source/browse/trunk/markerclusterer/src/markerclusterer.js -- Luke On Tue, Jul 19, 2011 at 1:24 PM, Daejeon siaw.man3...@gmail.com wrote:

[Google Maps API v3] Search in database (xml file)

2011-07-18 Thread Daejeon
http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html function searchLocationsNear(center) { clearLocations(); var radius = document.getElementById('radiusSelect').value; var searchUrl = 'phpsqlsearch_genxml.php?lat=' + center.lat() + 'lng=' + center.lng() + 'radius=' +

[Google Maps API v3] Re: Search in database (xml file)

2011-07-18 Thread xelawho
The search function that I would like to perform is something like, when I search for some particular marker, it will zoom or bring me to that particular marker. the search parameters are kind of up to you to design, although I imagine adding an autosuggest to the input field may make life