depends on how you set up your marker, but probably something like
this:
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(marker.getLatLng().toString());
});
if you are creating the listener within the function that holds the
location of the marker (let's say in a variable called "point"), it
could be simpler:
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(point.toString());
});
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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-api?hl=en.