Hello,

I noticed some rather strange behaviour concerning the geocoder object
in combination with infoWindows and Markers.

What I want to do: I have two latitude-/longitude values and want to
get the addressinformation with those values. After that I create for
each latitude-/longitude pair a new Marker and add a new attribute
(address) with result[0].formatted_address as value. With those
information I create a new event which displays the adressinformation
in an infoWindow with a click on the specific marker.

Somehow (and don't ask me why) this does only work when I use an alert
in the if(geocoder) function. As soon as I take this alert out it only
displays one of those markers I defined. There are no errors or stuff
like that and unfortunately I don't have enough experience to know why
this is happening. I'd really appreciate it if someone could explain
me what I'm doing wrong.

http://poirecognition.kilu.de/geolocation2.html

Thanks in advance,
Nico

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to