> Still troubleshooting, here is my
> page:http://www.tchdgis.org/googlemaps/EHservicenplcycle.html
I can see markers and coloured polygons with a sidebar in IE6 and FF2
- is there supposed to be something else?
Clicking a coloured poly results in an error - your map click listener
assumes there is always a latlng for a click, and there isn't if an
overlay was clicked. Test for the existence of a latlng before trying
to use it.
GEvent.addListener(map, 'click', function(overlay, latlng) {
if (latlng) { ....
} // else an overlay was clicked
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---