How to achieve equal proportion scaling for a MarkerItem #1243
Answered
by
devemux86
lc707776289
asked this question in
Q&A
-
How to obtain the pixel-to-meter ratio of the current map and perform real-time calculations for the size of the icon.
|
Beta Was this translation helpful? Give feedback.
Answered by
devemux86
Aug 18, 2025
Replies: 1 comment 3 replies
-
|
@lc707776289 It is not clear what you mean. Check the MarkerOverlayActivity example to see how the marker overlays can be used. If you want to make map calculations, you can use the utilities in MercatorProjection class. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

@lc707776289 Marker overlays have the same icon size with zoom. Like the map icons.
Map roads and polygons can increase size with the zoom. All maps work the same way.
If you want the marker icon to increase size with the zoom,
you could try writing a custom marker class and changing the icon with zoom changes.