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 think this would be an extremely useful function if it took a search radius in meters. I have no idea how it is useful if it takes a search radius in screen pixels.
Am I missing something?
The text was updated successfully, but these errors were encountered:
I am the developer of this function. As @leplatrem indicates, my original use case is to get layers within a bbox and select one of them for snapping in a custom filter function in our fork of Leaflet.Snap. A distance in pixels is used to provide a consistent user experience of snapping at different zoom levels.
We could add a layersWithinMeters() helper (As long as we don't go as far as implementing helpers for feets, yards, sticks, fingers or whatever crazy non metric unit 😄)
I think this would be an extremely useful function if it took a search radius in meters. I have no idea how it is useful if it takes a search radius in screen pixels.
Am I missing something?
The text was updated successfully, but these errors were encountered: