Click on polygon returns "1" as clicksource
de1mat opened this issue · comments
Matt Delmarter commented
When I click on an element on the map the e.clicksource
is correctly identified as:
- map
- pin
- 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?
Hans Knöchel commented
The clicksource
returns a constant for overlays, e.g.
GoogleMaps.OVERLAY_TYPE_POLYGON
GoogleMaps.OVERLAY_TYPE_POLYLINE
GoogleMaps.OVERLAY_TYPE_CIRCLE
That could indeed be described in the readme as well.