[Google Maps API v3] Re: How to build a legend

2010-08-02 Thread inotipiedideipitoni
Hi, i've modified the script, and pressing the button the legend appear/disappear, but everytime i reload a page (or zooming something), the legend appear automatically and I don't know why... the link is up. thanks in advance! On 30 Lug, 22:12, Rossko wrote: > >                 if (document.ge

[Google Maps API v3] Plain text on a map

2010-08-02 Thread mljm
I created gridlines to the amateur radio format of the Maidenhead locator, which is every 2 or 20 degrees longitude, 1 or 10 degr lat (depending on zoom level). Each square has a two or four character locator designation and I would like to display this locator in the top right corner of each squa

[Google Maps API v3] Re: KML with 4 markers only showing 1

2010-08-02 Thread sgiddings
Sorry to disappoint you James, but there was no broken tag. This was simply the effect of pasting the content into this forum. On Aug 2, 3:59 am, James McGill wrote: > In case someone stumbles upon this later, newlines should not be > required between Placemark elements. I suspect the real probl

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread Greg45
thanks Larry for your help ! I have test your like, it's fine ! but i don't know why, he doesn't work on my script. My link "Zoom to" doesn't work . could you check my script please and say to me where is my mistake ? http://greglg.free.fr/spotme/map.php Thx again On Aug 1, 9:01 pm, "geocode...@g

[Google Maps API v3] Re: 22 July release bug

2010-08-02 Thread kilkul
Hello Ben, It's still happening to me (on any page using the GMaps V3 API), but not on the http://maps.google.com/ , and not on the V2 samples (as in http://code.google.com/apis/maps/documentation/javascript/v2/examples/map-simple.html ). I'm using an iPhone 3GS with OS 3.1.3 , if that helps...

[Google Maps API v3] Re: Problem with TileOverlay in iPhone/iPad

2010-08-02 Thread kilkul
Hi Robert, Does this sound like my issue, reported here? http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/fecf6b467b2f5b3f/8c320c1cb861dcb6 If so, you may "support the cause", and push the API dev people to look into this... On Aug 1, 1:25 am, Robert wrote: > When usin

[Google Maps API v3] Re: How to build a legend

2010-08-02 Thread inotipiedideipitoni
UP: now the legend works: you must set the two parameters to show/hide the custom control: object.style.visibility=hidden/visible; object.style.display=none/block/etc; if you specify only one parameter, you will have some problems. now I have another question. i wanna make my legend like t

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 6:26 am, Greg45 wrote: > thanks Larry for your help ! > > I have test your like, it's fine ! but i don't know why, he doesn't > work on my script. > My link "Zoom to" doesn't work . > could you check my script please and say to me where is my mistake > ?http://greglg.free.fr/spotme/map.

[Google Maps API v3] Get marker from directions query

2010-08-02 Thread Pil
Is it possible to get the markers from a directions query like in v2: GDirections.getMarker(i:Number)? I'd need to store them. -- 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-j

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread Greg45
grrr, i don't use internet explorer, and there are an another error i upload this file to html, i think is better for debug. http://greglg.free.fr/spotme/map.html on my line 134-135 I have the code of the function downloadUrl, I go search on web for fix it On Aug 2, 3:55 pm, "geocode...@g

[Google Maps API v3] Re: v3 markerClusterer

2010-08-02 Thread bratliff
On Aug 1, 11:07 pm, William wrote: > I see what you are saying. I think the OverlayView and GOverlay are > designed for "full" overlays which are positioned once with "draw", > whereas MarkerClusterer etc efficiently manage the display of > "partial" overlays, and are best updated on "bounds_chan

[Google Maps API v3] Re: Get marker from directions query

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 7:07 am, Pil wrote: > Is it possible to get the markers from a directions query like in v2: > >  GDirections.getMarker(i:Number)? > > I'd need to store them. I don't think there is an explicit method like that. But it is possible: http://www.geocodezip.com/v3_directions_custom_iconsC.h

RE: [Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread Ralph Ames
>http://greglg.free.fr/spotme/map.html IE has a problem with your xml file. Probably because of this word prés either you convert all special characters or set the right encoding type. Ralph - www.easypagez.com/maps/map_index.html www.easypagez.com/maps/v3_basicmap.html -- You received

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 6:55 am, "geocode...@gmail.com" wrote: > On Aug 2, 6:26 am, Greg45 wrote: > > > thanks Larry for your help ! > > > I have test your like, it's fine ! but i don't know why, he doesn't > > work on my script. > > My link "Zoom to" doesn't work . > > could you check my script please and say

[Google Maps API v3] Re: Get marker from directions query

2010-08-02 Thread Pil
On Aug 2, 5:07 pm, "geocode...@gmail.com" > I don't think there is an explicit method like that.  But it is > possible: Ah, yes, when I create the markers myself. Seems all a bit sluggish - like the v3 map itself on older machines. Thanks anyhow. -- You received this message because you are

[Google Maps API v3] Re: Map rendering incomplete inside modal window

2010-08-02 Thread ej
Ok, just to make sure I got that...

[Google Maps API v3] Re: Map rendering incomplete inside modal window

2010-08-02 Thread Rossko
>  ... onClick="resizemap()" > Close Map > Is the event trigger enough to trigger a resize? Not really ; the purpose of running google.maps.event.trigger(map, 'resize'); is to inform the API that the div that the map lives in has changed size ; the API will redraw the map as needed to fit i

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread Greg45
hi I'm back :) after a lot of test. I'm block here : I test to modify the codage of my page without success for my error with IE, I think found why I have this error but I don't arrived to fix it . In my script, I have this code : downloadUrl("phpsqlajax_genxml3.php", function(data) { with th

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread Greg45
when I put a slash before" phpsqlajax_genxml3.php" like this: downloadUrl("/phpsqlajax_genxml3.php", function(data) { --> http://greglg.free.fr/spotme/map_with_slash.html -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 10:42 am, Greg45 wrote: > hi I'm back :) > > after a lot of test. I'm block here : > > I test to modify the codage of my page without success > > for my error with IE, I think found why I have this error but I don't > arrived to fix it . > > In my script, I have this code : > > downloadU

[Google Maps API v3] How do I add a new property to a Marker?

2010-08-02 Thread doug
Hi, I appreciate the API is for competent programmers but I'm doing my best to improve myself :-) Is it possible to add another property to a marker? I'd like to add a boolean value called markerHidden for use with marker clusterer. I'm developing a map with selectable categories of markers and th

[Google Maps API v3] Adding markers on top of directions within map

2010-08-02 Thread Tom P
I am displaying directions within a map and would also like to add an additional marker onto the maps. Currently the marker code doesn't display anything on top of the original maps. The code below show what I currently have, does anyone have any ideas? http://www.w3.org/1999/xhtml"; xml:lang="

[Google Maps API v3] Add new property to google.maps.Marker class

2010-08-02 Thread anonims r
Hi ! I'm newbie in java script and google maps api. Please help me! I'm developing database application in delphi, I need integration with google maps API for displaying map and PlaceMarkers. There is no problem to call java script functions from delphi application. I have following table in dat

[Google Maps API v3] Animate (panTo) map to new marker location after drop

2010-08-02 Thread TracerX
Hello all, my name is Robert Hood from 1Degree inc. a Website Strategies and Development firm in Kirkland WA. Recently we have seen the value of providing map services to our clients and are excited to see V3 is out. At this time we have a small project located @ http://isy.1degree.com/maps/map.htm

[Google Maps API v3] Fix.

2010-08-02 Thread Nicklas
I had the same problem yesterday and found out that if I just moved the "addListener" part of the code to its own function it will work. In other words, instead of: google.maps.event.addListener(marker, "click", function(e) { var infoBox = new InfoBox({latlng: marker.get

[Google Maps API v3] map, poi as in maps.google.com

2010-08-02 Thread frie
hi.. is there a way to get the same map as in maps.google.com for example: the map at 31st Street, New York, NY, United States shows me many point of interests and i don't have to make a search, e.g. B&H Photo Video. Link: http://maps.google.com/maps?f=q&source=s_q&hl=de&geocode=&q=B%26H+Photo+V

[Google Maps API v3] Animate () to new Marker location

2010-08-02 Thread TracerX
Hello all, my name is Robert Hood from 1Degree inc. a website stratigies and development firm in Kirkland Wa. I have talen an intrest recently in the value of Google Maps V3 and how we can help our clients express themselves better vis this midian. I have a small project that is somewhat interacti

[Google Maps API v3] need a lil help, poi asi in maps.google.com

2010-08-02 Thread frie
hello, is there a way to get the same map as in maps.google.com for example: the map at 31st Street, New York, NY, United States shows me many point of interests and i don't have to make a search, e.g. B&H Photo Video. Link:http://maps.google.com/maps?f=q&source=s_q&hl=de&geocode=&q=B%26H +Pho...

[Google Maps API v3] Having trouble adding text from a database to title of a marker

2010-08-02 Thread raumin
I am adding markers on the map from a database, and that works. But when I want the marker to have a title from the database it does not work. Why??? This works rs.moveFirst(); while(!rs.eof) { var location = new google.maps.LatLng(rs(1), rs(2)); var marker = new google.maps

[Google Maps API v3] Polyline middle

2010-08-02 Thread Константин
Hello. I'm trying to to display two lines on map. The second has one end in the middle of the first line. Another end of second line placed on the one of the first line. When I zoom in I can see that the first point of the second line doesn't match the middle of the first line. It is critical for

[Google Maps API v3] Triggering a click on a kml polygon

2010-08-02 Thread fastapps
I would like to display the infoWindow for a kml polygon automatically on loading the layer. To do this I am trying to trigger a click on the polygon. In order to specify the location I pass the LatLng to the trigger. map = new google.maps.Map(document.getElementById("map_canvas"), myOption

[Google Maps API v3] How to dynamically open placemarks

2010-08-02 Thread Fabrizio
Hello, I have a question about the usage of the map APIs. I need to load into my site a "MyMap" a dynamically open placemarks. Thus, if the user selects a place (e.g. from a drop down list), the map should center on that place and open the corresponding placemark. Obviously, I have the coordinates

[Google Maps API v3] save the cordinate of the marker

2010-08-02 Thread bechir
hi i wont to develop an application that give the user to check his position (like foursquare) and i want to save it in my DB but i can't found the way to save marker's cordonate , if possible a tutorial plz thinks -- You received this message because you are subscribed to the Google Groups "Go

[Google Maps API v3] Re: Multiple markers, eventlistener AND custom windows. Eventlistener problems

2010-08-02 Thread Nicklas
I had the same problem yesterday and found out that if I just moved the "addListener" part of the code to its own function it will work. In other words, instead of: google.maps.event.addListener(marker, "click", function(e) { var infoBox = new InfoBox({latlng: marker.get

[Google Maps API v3] Re: Adding markers on top of directions within map

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 11:15 am, Tom P wrote: > I am displaying directions within a map and would also like to add an > additional marker onto the maps.  Currently the marker code doesn't > display anything on top of the original maps. > > The code below show what I currently have, does anyone have any ideas?

[Google Maps API v3] Re: Polyline middle

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 4:18 am, Константин wrote: > Hello. > > I'm trying to to display two lines on map. The second has one end in > the middle of the first line. Another end of second line placed on the > one of the first line. When I zoom in I can see that the first point > of the second line doesn't match

[Google Maps API v3] Re: save the cordinate of the marker

2010-08-02 Thread Rossko
> i wont to develop an application that give the user to check his > position (like foursquare) and i want to save it in my DB but i can't > found the way to save marker's cordonate , if possible a tutorial plz http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html -- You received this mes

[Google Maps API v3] Re: Having trouble adding text from a database to title of a marker

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 12:03 pm, raumin wrote: > I am adding markers on the map from a database, and that works. But > when I want the marker to have a title from the database it does not > work. Why??? I don't know. Adding title text works for me. > > This works > > rs.moveFirst(); >     while(!rs.eof) >  

[Google Maps API v3] Re: How to dynamically open placemarks

2010-08-02 Thread Rossko
> Hello, I have a question about the usage of the map APIs. I need to > load into my site a "MyMap" a dynamically open placemarks. Thus, if > the user selects a place (e.g. from a drop down list), the map should > center on that place and open the corresponding placemark. Examples with 'sidebars'

[Google Maps API v3] Re: v3 markerClusterer

2010-08-02 Thread William
On Aug 3, 1:05 am, bratliff wrote: > I use event handlers to determine whether I have to rebuild tiles.  If > the tile boundaries have not changed, it can be dismissed in about a > dozen statements. > I haven't yet tried it but I think the MapType interface looks better suited for tile based updat

[Google Maps API v3] Re: Polyline middle

2010-08-02 Thread Rossko
> Can somebody explain it? The map is in Mercator projection, the "middle" of a line is not a simple average of the coordinates in degrees. You need to do something a bit cleverer with spherical geometry. -- You received this message because you are subscribed to the Google Groups "Google Maps

[Google Maps API v3] Enter neighborhood on the map

2010-08-02 Thread Ronaldo
Hey,.. So, I need help about how to put neighbor on the map with V3. Like this site: http://www.lopes.com.br/ficha-imovel-terceiro/porto-alegre/rs/porto-alegre/mont-serrat/apartamento/900083175 Check the LOCALIZAÇÂO out, you see much referer like gym, hotel, restaurant,... So guys, I hope your h

Re: [Google Maps API v3] Re: Having trouble adding text from a database to title of a marker

2010-08-02 Thread Raumin Tadayon
Thats what it is, its server side code, I forgot to think about that On Mon, Aug 2, 2010 at 5:48 PM, geocode...@gmail.com wrote: > On Aug 2, 12:03 pm, raumin wrote: > > I am adding markers on the map from a database, and that works. But > > when I want the marker to have a title from the databas

[Google Maps API v3] Street View Problem - Script Error

2010-08-02 Thread Al
If you display a map which has street views on it but not at the particular point the map is centered on then when you move the Pegman (upper left corner) onto the map it will cause of Javascript error. An example URL is at ... http://streetviews.co/?place=E.+Norway+Hill+Park%2C+Kirkland+WA The

[Google Maps API v3] Re: Polyline middle

2010-08-02 Thread William
On Aug 3, 7:59 am, Rossko wrote: > > Can somebody explain it? > > The map is in Mercator projection, the "middle" of a line is not a > simple average of the coordinates in degrees. You need to do something > a bit cleverer with spherical geometry. also there seems to be something slightly wrong w

[Google Maps API v3] Re: Triggering a click on a kml polygon

2010-08-02 Thread Rossko
> I would like to display the infoWindow for a kml polygon automatically > on loading the layer.  To do this I am trying to trigger a click on > the polygon.  In order to specify the location I pass the LatLng to > the trigger. I don't see anywhere in your code snippet that you trigger any event.

[Google Maps API v3] Re: Maps API Terms of Service Question

2010-08-02 Thread ewitch
Hm, I submitted my question through the Premier sign-up form too, and got a response pretty quickly. In my particular case, they said it would require Premier. On Jul 28, 7:06 pm, Michael Short wrote: > Hello, > > I had a similar question, but I submitted it through the sign-up form > for Premeir

[Google Maps API v3] Re: button in infowindow for zoom

2010-08-02 Thread geocode...@gmail.com
Looks like you got the xml working for: http://greglg.free.fr/spotme/map.php The "zoom to" link doesn't work because the map variable is not global. It is local to your load function. It needs to be declared in the global scope, then initialized in the load function. var map = null; function lo

[Google Maps API v3] Re: 22 July release bug

2010-08-02 Thread kilkul
Well, oddly enough... it just seems to be working fine now, without any (special) interventions from my part (no software updates or anything). On Aug 2, 2:33 pm, kilkul wrote: > Hello Ben, > > It's still happening to me (on any page using the GMaps V3 API), but > not on thehttp://maps.google.co

[Google Maps API v3] Re: MarkerImage class properties

2010-08-02 Thread kilkul
OK, but can't the MarkerImage get some additional properties (for example, to get its URL), so I won't have to hack into my JS after each release? On Jul 28, 1:47 pm, Ben Appleton wrote: > We release updates approximately weekly.  We use Closure Compiler to > compress our code, which renames var

[Google Maps API v3] Re: Street Corners

2010-08-02 Thread Bruno J
Unfortunately I think the intersections are not avaible at Brasil streets (the ones I was really interested in). Don't you know if there's another way of discovering it? I tried do add markers all along the streets using their numbers (like 0 Street A, 100 Street A, 200 Street A... and 0 Street B,

[Google Maps API v3] Re: StreetViewPanorama setVisible bug

2010-08-02 Thread iCollins
I'm experiencing the same bug and I've seen nothing online about how to fix it yet, but I was able to come up with a temporary hack. By changing the zoom level of the panorama each time the visibility property is set to true, the panorama will remain visible (at least in Firefox). Ex: var pov = pa

Re: [Google Maps API v3] Re: Street Corners

2010-08-02 Thread David Giglio
Hey, There is a new feature on google maps where you can drop at lat/lng marker. This would be useful for just doing a few of these, if that is all you need. On the top right of google maps there is a little green marker that says 'new!' next to it. click that and it brings up a menu of feature

[Google Maps API v3] Re: MarkerImage class properties

2010-08-02 Thread Rossko
> OK, but can't the MarkerImage get some additional properties (for > example, to get its URL), so I won't have to hack into my JS after > each release? Why not just remember what you set the image to in the first place? -- You received this message because you are subscribed to the Google Group

[Google Maps API v3] Re: MarkerImage class properties

2010-08-02 Thread William
On Aug 3, 9:30 am, kilkul wrote: > OK, but can't the MarkerImage get some additional properties (for > example, to get its URL) I think that's because some of the optional properties are calculated asynchronously (once the image has been retrieved for the first time). Certainly getUrl() would be

[Google Maps API v3] Re: Street View Problem - Script Error

2010-08-02 Thread William
just to confirm, I only see this error when using IE. Or do you see it on other browsers as well? ... -- 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-js-api...@googlegroups.com.

[Google Maps API v3] Re: Problem with TileOverlay in iPhone/iPad

2010-08-02 Thread Robert
I'm seeing a very similar issue to what you describe. I'm able to scroll around for a couple minutes before the tile outlines appear. It seems like zooming in and out causes it to appear fairly quickly. I still see the issue even though it seems to be resolved for you. On Aug 2, 9:35 am, kilkul

[Google Maps API v3] Adding properties to Object.prototype breaks Google Maps

2010-08-02 Thread Nick
I notice that when any property is added to Object.prototype (a variable or a function), Google Maps will fail to load the map. Here is an example demonstrating the problem: http://dl.dropbox.com/u/9699560/map.html If you comment the line that says 'Object.prototype.pi = 3.1415;', the map will l

[Google Maps API v3] Re: Adding markers on top of directions within map

2010-08-02 Thread Tom P
Hi, I have the following snippet from within the code to display the marker but it doesn't seem to display anything        var driverLat = 52.252803;        var driverLong = -0.786896;         var driverLatlng = new google.maps.LatLng(driverLat + “,” + driverLong);         var marker = new goog

[Google Maps API v3] Re: Adding properties to Object.prototype breaks Google Maps

2010-08-02 Thread William
On Aug 3, 1:46 pm, Nick wrote: > Having access to Object.prototype is important, because I implement > Douglas Crockford's Object.prototype.beget method (which will be added > to the next ECMAScript version as Object.create). > the Maps API fully utilizes functional programming techniques, especi

[Google Maps API v3] LIstener on marker don't work after changing marker position

2010-08-02 Thread ares4322
If i set marker on map, set listener to marker and then change marker position, listener don't work. And new listener on this marker don't work. Where is solving? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this g

Re: [Google Maps API v3] Adding properties to Object.prototype breaks Google Maps

2010-08-02 Thread Ben Appleton
Hi Nick, Please do not add new properties to Object.prototype. It is for good reason that Crockford's .beget method is not going to be added to Object.prototype - that could break many existing codebases much as you've found with Maps API v3. Working around unexpected properties on Object.protot

[Google Maps API v3] Re: Adding markers on top of directions within map

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 10:13 pm, Tom P wrote: > Hi, > > I have the following snippet from within the code to display the > marker but it doesn't seem to display anything > >        var driverLat = 52.252803; >        var driverLong = -0.786896; > >         var driverLatlng = new google.maps.LatLng(driverLat +

[Google Maps API v3] Re: LIstener on marker don't work after changing marker position

2010-08-02 Thread geocode...@gmail.com
On Aug 2, 11:17 pm, ares4322 wrote: > If i set marker on map, set listener to marker and then change marker > position, listener don't work. > And new listener on this marker don't work. > Where is solving? Where is your map? Are you sure you are moving the marker and not creating a new one?