hansemannn / titanium-googlemaps

🗺 Use the Google Maps SDK in Titanium
Other
87 stars 26 forks source link

Click on polygon returns "1" as clicksource #122

Closed de1mat closed 6 years ago

de1mat commented 6 years ago

When I click on an element on the map the e.clicksource is correctly identified as:

  1. map
  2. pin
  3. infoWindow

... but not when clicking on a polygon. The e.clicksource in that case is returned as a 1.

Clicking on a polygon should return a clicksource of overlay if I am understanding correctly?

hansemannn commented 6 years ago

The clicksource returns a constant for overlays, e.g.

That could indeed be described in the readme as well.