This project is read-only.

Marker inside Polygon

Feb 7, 2010 at 11:38 PM
Edited Feb 7, 2010 at 11:39 PM

When I click on a googlemap, the click event of the googlemap gets fired:

Protected Sub GoogleMap1_Click(ByVal sender As Object, ByVal e As Artem.Web.UI.Controls.GoogleLocationEventArgs) Handles GoogleMap1.Click

End Sub

Inside the click event. I'm using e.Location to add a marker on the googlemap:


New GoogleMarker(e.Location.Latitude, e.Location.Longitude))

So far, so good. However, if a Polygon is placed on the googlemap, and I click inside the polygon, the click event gets fired, but both e.Location.Latitude and e.Location.Longitude have the value 0. Is this a bug, or do I overlook something?