How to adjust the marker to your size based on the zoom level of Google Maps v2

I'm trying to monitor the behavior of Google Maps, in which markers of a certain landmark seem small at a lower zoom level, but more at a higher level. I was already able to make the custom marker disappear with the help of the zoom level, now I want its size to be adjusted depending on the zoom level. Any help would be greatly appreciated. Thank you Android Newbie is here.

+1
source share
1 answer

In onCameraChange instead of calling setVisible call setIcon with different BitmapDescriptor depending on the zoom level.

+2
source

Source: https://habr.com/ru/post/969434/


All Articles