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?