android - draw resizable circle on google map

前端 未结 3 575
心在旅途
心在旅途 2020-12-18 05:25

I\'m trying to draw a resizable circle on top of my google map, which the user will be able to expand or shrink using touch gestures (for example to shrink the circle the us

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-18 05:35

    It has been a while since this question was asked but I want to introduce another way of doing this. I created my own library to handle draggable resizable map area (circle). https://github.com/ac-opensource/MarkerBuilder

    It can be implemented by just initialising the MarkerBuilderManager

    markerBuilderManager = new MarkerBuilderManagerV2.Builder(this)
              .map(mMap) // required
              .build();
    

提交回复
热议问题