Lock map view

37 views
Skip to first unread message

Frantisek Remias

unread,
Sep 6, 2016, 8:28:25 AM9/6/16
to Leaflet
Hello,

is there a way to lock Leaflet map view (position and zoom)? So for example when I click on a marker it will not center and zoom on the marker.. just open the popup window?
I would also need possibility to turn on/off this lock when click on button.

Thank You

k_man_au

unread,
Sep 11, 2016, 11:31:43 PM9/11/16
to Leaflet
Isn't that default behaviour? Can you share a code snippet where you create/open the popup?
Reply all
Reply to author
Forward
0 new messages