locateOptions (eg: keepCurrentZoomLevel) Not Working · Issue #331 · domoritz/leaflet-locatecontrol · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Leaflet v1.9.3 with the latest version of leaflet-locatecontrol as of 2023-Jan-15.
The issue I am running into is that setting locateOptions doesn't seem to work. For example, I am doing this:
However, things like
showPopup
andkeepCurrentZoomLevel
aren't being used.If I use L.Control.Locate.js (not the minified version) and set them directly (lines 179 and 323) in here, then they work fine.
The text was updated successfully, but these errors were encountered: