ui-leaflet icon indicating copy to clipboard operation
ui-leaflet copied to clipboard

Disable auto center adjust after change marker coordinates programmatically

Open ckristhoff opened this issue 5 years ago • 0 comments

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.

ckristhoff avatar Apr 23 '19 20:04 ckristhoff