Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Disable auto center adjust after change marker coordinates programmatically #362

Open
ckristhoff opened this issue Apr 23, 2019 · 0 comments

Comments

@ckristhoff
Copy link

ckristhoff commented Apr 23, 2019

Hi everyone
after change marker coordinates programatically leflet auto adust the center map. My app track device location but user can focus in other markers.

My map losses the marker focus each time user moves.

How disable this behavior?

Example: http://angular-ui.github.io/ui-leaflet/#!/examples/dragging-markers

Edit: message attribute in marker makes auto center. Remove message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant