how to change the color of a particular area on Google map api v2 in android

后端 未结 2 1642
时光说笑
时光说笑 2020-12-17 23:44

I am working on an Android app that makes use of the Google Maps API v2 and would like to mark a specific area on the map with a certain color on a click event. For example,

2条回答
  •  再見小時候
    2020-12-18 00:28

    You need to gather all the points that create this shape as a List of LatLngs and use Polygon.

提交回复
热议问题