Hello. I've not found any solution for my problem in the Internet. So,
let me write the question in this forum:
I have several markers and polygons on my map, from 1 to 1000. Also i
want to:
GEvent.addListener(map, "singlerightclick", function(point)
{
if (point)
{
var myHtml = "The GPoint value is: " +
map.fromContainerPixelToLatLng(point) + " at zoom level " +
map.getZoom();
map.openInfoWindow(map.fromContainerPixelToLatLng(point), myHtml);
}
});
It works well. BUT: it is called many times for every overlay.
Is there any way to call this event processor only 1 time?
Thank you, very much.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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.