[Google Maps API v3] Re: Clicking an external control to change a map attribute

2011-03-05 Thread John Harris
On Mar 6, 6:35 am, "geocode...@gmail.com" wrote: > > You mean examples like > these?http://www.geocodezip.com/geoxml3_test/v3_geoxml3_polygon_highlight.htmlhttp://www.geocodezip.com/geoxml3_test/v3_geoxml3_tennis-lines_highli... > >   -- Larry Show-off. Yes Larry, like those. I spent hours yeste

[Google Maps API v3] Re: Clicking an external control to change a map attribute

2011-03-05 Thread geocode...@gmail.com
On Mar 5, 10:11 pm, John Harris wrote: > Has anyone example code of clicking an external control, like a > checkbox, and making a corresponding change on a map (like a fillColor > on a polygon for example)? > > I've tried  polygon.setOptions({strokeColor: rgbhex}), I've tried > polygon.setMap(null

[Google Maps API v3] Clicking an external control to change a map attribute

2011-03-05 Thread John Harris
Has anyone example code of clicking an external control, like a checkbox, and making a corresponding change on a map (like a fillColor on a polygon for example)? I've tried polygon.setOptions({strokeColor: rgbhex}), I've tried polygon.setMap(null) and then re-doing a new google.maps.Polygon and a

[Google Maps API v3] Re: Confused about new marker addListener events

2011-03-05 Thread Chris C
The problem appears to be that if the map is not shown yet, adding markers with click events will fail the addListener. They will not respond to the click event. Setting the draggable: true solves the problem but that of course results in the wrong behavior. This was noted in this entry a few day

[Google Maps API v3] Re: Bug adding click events when map div is not visible

2011-03-05 Thread Chris C
Thank you, thank you, thank you. I have been struggling with this all day long. I think its a new bug in the March 2nd addition. It happens on the Windows version of Safari too. I will post a problem report and list this item and my entry with it. On Mar 2, 3:14 pm, "m@uce" wrote: > Oops. Fo

[Google Maps API v3] Re: Confused about new marker addListener events

2011-03-05 Thread Chris C
For what its worth here is the function that loads my markers in the simplest form with one marker: function loadWeatherMarkers() { var $src = 'http://maps.google.com/mapfiles/shadow50.png'; var imageShw = new g.MarkerImage($src, new g.Size(37, 34), new g.

[Google Maps API v3] Re: Confused about new marker addListener events

2011-03-05 Thread Chris C
Larry: I pulled out the code for the second map into a smaller program and it does not exhibit the same problem. So I am at a loss why this has suddenly become a problem only with the March 2nd update for my full application. The announce for the update states: Note: if you listen for DOM events

[Google Maps API v3] Re: Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread chat2joe
I got it working! It works with the listener right after the setMap(). so on the initialization function i put... setInterval ( "refreshmap()", 7000 ); Then I toggle between the two files in the refresh function; var toggle = 1; function refreshmap() { if (toggle == 1) {

[Google Maps API v3] Re: Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread Rossko
>   google.maps.event.addListener(kmlLayer1, 'metadata_changed', > function() { >         alert(toggle); >   }); > > Am I doing that right? See this post, I think it is relevant http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/ff97009e0ca4f593/e52c3d1d40ed7a11 You're setti

[Google Maps API v3] Re: Handling double click event has changed!

2011-03-05 Thread Ryan
I am also having an issue where when I register a click handler on the map, double clicks are no longer handled properly. For example, if I don't register a click handler on the map, I can double click to zoom, but when I register a click handler, double click to zoom doesn't work. If I regist

[Google Maps API v3] Anyone in touch with William

2011-03-05 Thread Kesuke
Bit off topic from maps - I was wondering if anyone is still in touch with William (http://groups.google.com/groups/profile? enc_user=cIvU0hYAAACNlgmCvDXWVdSjPCNpvywzo4cocwWvDVg2RHsu8f1bCg). He was pretty prolific in the group and helped a lot of people including me. Then all of a sudden stopped po

[Google Maps API v3] Re: Transfer of newly placed marker into hidden form field.

2011-03-05 Thread Soluphia
How would an even listener look like I could add to this script that will assign the new location of the dragable marker to document.getElementById? Thank you! Here is the link: http://dorothy-lewis-griffith.com/A-GoogleMapMarkerSetTransferFormField.htm -- You received this message because you a

[Google Maps API v3] Re: why getBounds value is different from the value set by fitBounds()

2011-03-05 Thread geocode...@gmail.com
On Mar 5, 2:18 pm, wang Chen wrote: > Hey, >   I just start to learn Google Maps api. I copy the following code > from Google Maps documents to set map bounds and add an alert > statement to display the bounds I just set. However I find that the > getBounds value is different from the value I send

[Google Maps API v3] why getBounds value is different from the value set by fitBounds()

2011-03-05 Thread wang Chen
Hey, I just start to learn Google Maps api. I copy the following code from Google Maps documents to set map bounds and add an alert statement to display the bounds I just set. However I find that the getBounds value is different from the value I send to fitBounds(). The value I send to fitBounds(

[Google Maps API v3] Re: Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread chat2joe
I've tried listened for changed zooms and changed defaultviewports... they work, but on the final map I want to preserve the viewport. Tried that and the preserved viewport prevents the listener from firing. Thanks for the reply Rossko, I've tried using that but can't seem to get it to trigger. S

[Google Maps API v3] Re: Confused about new marker addListener events

2011-03-05 Thread geocode...@gmail.com
On Mar 5, 1:35 pm, Chris C <1952m...@gmail.com> wrote: > Up until the March 4 Javascript update my event listeners have been > working fine: > > markers[i] = new g.Marker( >    {  position: myLatlng, >       icon: image, >       shadow:imageShw, >       map: map, >       draggable: false >     });

[Google Maps API v3] Confused about new marker addListener events

2011-03-05 Thread Chris C
Up until the March 4 Javascript update my event listeners have been working fine: markers[i] = new g.Marker( { position: myLatlng, icon: image, shadow:imageShw, map: map, draggable: false }); markers[i].event = g.event.addListener(markers[i], 'click', functi

[Google Maps API v3] ssh support being part of premier is a big problem for facebook connected sites

2011-03-05 Thread Julian
With https being an option people can set on facebook, to have a site that uses facebook connect and google maps, you would have to pay $Xk+ for a premier google maps api account, unless you want security messages as part of the user experience. Is that a problem for anyone else, and any thoughts

[Google Maps API v3] Re: Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread Rossko
> Is there any way to trigger a function when a setMap(map) has fully > loaded to the map? For a kmlLayer, you can listen for metdata_changed http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=metadata_changed -- You received this message because you are su

[Google Maps API v3] Re: V3 link to marker problem

2011-03-05 Thread Rossko
> http://highground.pagesperso-orange.fr/geolocations7/source.htm?id=Ma... Your included script "scripts/downloadxml.js" is not a script, its a webpage from Orange summarised as "Page introuvable" Forget to upload, maybe ? > Does anyone know how to extend  the transfer of parameters from the > UR

[Google Maps API v3] Re: V3 link to marker problem

2011-03-05 Thread geocode...@gmail.com
On Mar 5, 4:12 am, SteveG wrote: > I have tried to take a sample page from: > > http://www.geocodezip.com/v3_MW_example_linktomarker.html?id=Marker > Two > > and almost without modification put it on my own site where I am > trying to learn how to create Google Maps. > > http://highground.pagesper

[Google Maps API v3] Passed arguments for 'click' event of Markers suddenly changed.

2011-03-05 Thread Steffen
I was using since months the click event of a marker for displaying a custom overlay. This was easy since the click event passes the native mouse event which includes the "target" element. Therefore, something like this was possible: google.maps.event.addListener(marker, 'click', function (e, inf

[Google Maps API v3] V3 link to marker problem

2011-03-05 Thread SteveG
I have tried to take a sample page from: http://www.geocodezip.com/v3_MW_example_linktomarker.html?id=Marker Two and almost without modification put it on my own site where I am trying to learn how to create Google Maps. http://highground.pagesperso-orange.fr/geolocations7/source.htm?id=Marker o

[Google Maps API v3] Re: Map not showing in IE/FF but fine in Chrome

2011-03-05 Thread Noel
> > Your map is inside a , which has no size, which is inside a > which has no size. Thank you that works great :-) -- 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-v3@go

[Google Maps API v3] Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread chat2joe
Hi, I want to reload a kml file every few seconds with the latest generated version, this is working fine using setInterval to call the function below. The function is removing the previous kml then loading it again, the refresh variable is just to force the page to download the file again... fun

[Google Maps API v3] Can I trigger a function AFTER a setMap(map) has fully loaded?

2011-03-05 Thread chat2joe
Hi, I want to reload a kml file every few seconds with the latest generated version, this is working fine using setInterval to call the function below. The function is removing the previous kml then loading it again, the refresh variable is just to force the page to download the file again... fun

[Google Maps API v3] Re: Having troubles with path

2011-03-05 Thread Rossko
> Did you manage to see anything? I see the javascript error, don't you? It would pay to find out how to use the basic tools your browser provides, while you are developing. I get "pathArray[i].setMap is not a function" in pathArray[i].setMap(null); You have made pathArray[] as

[Google Maps API v3] Re: Having troubles with path

2011-03-05 Thread Rick Donohoe
Did you manage to see anything? Rick -- 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-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api

Re: [Google Maps API v3] Finding places around a location.

2011-03-05 Thread Paulo Fernandes
To do that you need to use places api On 3/4/11, reaz wrote: > Hi, > Whenever we search for an address or GPS coordinate in Google Maps it > also shows some places around that location. For example, if we search > 40.744038,-73.987641 it shows following list of places- > > Museum of Sex > New Y

[Google Maps API v3] Custom marker sometime hide

2011-03-05 Thread Fadamaps 37
Hi, Since version 3.4, custom markers (marker + shadow) are sometimes hidden ( ~ boundary tiles) Example : http://google-maps-api-version-3.touraineverte.com/gmaps-api-v3-issues/shadowMarkerBug/ Thx -- You received this message because you are subscribed to the Google Groups "Google Map

[Google Maps API v3] Re: Check if coordinates belong to a direction step

2011-03-05 Thread Rossko
> Any ideas for better approach? Some here, used 'bounds' of steps for first approximations http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/d28de9e1c74093e7/872be45ef3bdf3e9 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaS

[Google Maps API v3] Check if coordinates belong to a direction step

2011-03-05 Thread GoG
Hi, I have to check does certain location(pair of coordinates) belong to a direction. (google maps directions api response). I've come up with idea to iterate through all steps of the direction response and check if the coordinates belong to one of the direction's steps (it's polyline), calc

[Google Maps API v3] Re: along the route question

2011-03-05 Thread Rossko
> I am trying to replciate the feature on uship.com where they will find loads > along the way from Location A to Location B. I am able to find product pick > up locations around Location A and Location B within the proximity distance > given by user, but i am unable to find Pick up locations betwe

[Google Maps API v3] Re: Newbie Q: using overlay with mysql database markers

2011-03-05 Thread Skyway
I'm not sure what I did, but it's working now. I give you all the credit! Thank you so much! - Phil -- 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-v3@googlegroups.com.

[Google Maps API v3] Re: Newbie Q: using overlay with mysql database markers

2011-03-05 Thread Skyway
Still no luck. Any other suggestions? I would appreciate them! Thanks - Phil -- 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-v3@googlegroups.com. To unsubscribe from thi