Android Google Maps resize marker on Zoom

前端 未结 3 1633
没有蜡笔的小新
没有蜡笔的小新 2021-01-21 21:15

I need to display around 30 markers in a somewhat small area.

Is there a way to resize Google Maps API V2 markers when the user changes the zoom?

Or should I jus

3条回答
  •  余生分开走
    2021-01-21 21:56

    There is no an outOfTheBox option to change the icons for the markers. you will have to listen to zoom changes:

    How to listen for user generated zoom in Google Maps?

    and to remove the older markers and set new ones in their location with smaller icon images.

提交回复
热议问题