Android Question GoogleMapsExtras polygon. Clickable?

nicuznicuz

New Member
Licensed User
Longtime User
Hi everybody. I am using the GoogleMapsExtras library (v2.0) but I cannot find a way to set a click event listener to the polygon I am drawing on a map. What am I missing? Thank you in advance. I am rather new to app development and I am surely missing something obvious.
Ciao
Nico
 

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
Do you want to know when a user clicks inside the polygon?

As far as I am aware there is no automated way to do this
However, you can use this code.


I have used this code to monitor clicks in over 100 polygons and the performance is fine.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
You need to write a OnPolygonClickListener and add them to the GoogleMap.
This can be done with java and probably Javaobject.
 
Upvote 0
Top