Thanks for the reply.
I understand what you've said so I removed the overlay part and tried
this:
GEvent.addListener(map, "click", function (point) {
if (polygon.Contains(point)) {
map.openInfoWindowHtml(point, "inside");
} else {
map.openInfoWindowHtml(point, "outside");
}
});
Nothing happens. Can you see where I am, going wrong?
http://www.robmaps.co.uk/Floor_plans/Chadwick/untitled.html
Thanks,
Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---