-
Notifications
You must be signed in to change notification settings - Fork 700
Open
Labels
Description
hi
leaflet-providers uses some providers defined in L.TileLayer.Provider.providers{} object.
but this doesn't define if the provider is a base map or an overlay.
and in your preview, you add a function to filter provider that are overlay (https://github.com/leaflet-extras/leaflet-providers/blob/master/preview/preview.js).
Is there a way to specify an attribute "base map or overlay" in providers definition?
It would be more consitant and may be used to easily choose/display providers as they are (base map or overlay) in control layer of leaflet (https://leafletjs.com/examples/layers-control/)
mcguffin, h0lg, mikehaertl and leegeeabewartech