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
It seems like quite a bit of functionality is reimplemented as it does not seem to extend the inbuilt Leaflet Layer, and functions such as removeFrom are missing: https://leafletjs.com/reference.html#layer
Are these sublayers something internal or also externally usable?
The text was updated successfully, but these errors were encountered:
Hmm, when I started overpass-layer I just made a class and later I adapted it, to work as a Leaflet layer, but with minimal effort. I guess, this was wrong ;-) If you want to convert it to a real Leaflet layer, you are welcome to do so.
No, if I remember correctly, the Sublayers are only internally. Currently, there's no event which gets emitted, when the layer is hidden due to the zoom level, but it should be easy to add (Sublayer.hideAll).
It seems like quite a bit of functionality is reimplemented as it does not seem to extend the inbuilt Leaflet Layer, and functions such as
removeFrom
are missing:https://leafletjs.com/reference.html#layer
Are these sublayers something internal or also externally usable?
The text was updated successfully, but these errors were encountered: