> Furether research seems to suggest that e.clientX and e.clientY might
> work in all browsers, so all you have to do is subtract the position of
> the map container.

Except Internet Explorer which uses "window.event" instead of the
first argument in the function call.

function Click(e)
{
        x=window.event ? window.event.x : e.layerX;
        y=window.event ? window.event.y : e.layerY;
}

For a static map example:

    www.polyarc.us/poly

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to