-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marker size when changing the zoom level #25
Comments
Hi @sana-20 Assuming your marker is a custom view, you need to scale it in your To get the updated /**
* Add a [ReferentialListener] to the MapView. This [ReferentialListener] will be notified of any
* change of scale, rotation angle, or rotation pivot point.
* Using this API, the MapView holds a reference on the provided [ReferentialListener] instance.
* Don't forget to remove it when it's no longer needed, using [removeReferentialOwner].
*/
fun addReferentialListener(listener: ReferentialListener) {
listener.onReferentialChanged(referentialData)
refListenerList.add(listener)
} |
Hi @peterLaurence. As your explanation, I changed my custom marker class and added |
Great! |
Hi Peter.
I’ve been developing metro app using your library and I added multiple markers in the map.
But I come across the problem that some markers are overlapped as you can see below images.
What I want is changing the size of a marker along with the zoom level of the map or replace the marker image with other size. Say, if the map is zoomed out, the marker would be getting smaller so a user can click each marker precisely.
It would be great if you have any advice for solving this problem.
The text was updated successfully, but these errors were encountered: