Make clickable polygons on Google Maps (for Android)

Viewed 8375

I have continuous LatLngs of various areas in a city. Is there any way I can create clickable polygons with it. Once way to go about would be to

  • Generate polygons with the available LatLngs.( I want to visually show the polygons on the map with color encoding)
  • Set up setOnMapClickListener.
  • Do a point inside polygon test.

I understand that this is very naive. What are the alternative approaches?

3 Answers
Related