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
The Map class risks gaining a lot of properties, which seems a bit unwieldy to me.
Leaflet itself has an Options type, e.g. map.options.zoomDelta rather than map.zoomDelta directly. Moreover, its documentation categorizes those options: control, interaction, etc.
Maybe we should follow suit and create separate types LeafletControlOptions, LeafletStateOptions, etc.
The
Map
class risks gaining a lot of properties, which seems a bit unwieldy to me.Leaflet itself has an
Options
type, e.g.map.options.zoomDelta
rather thanmap.zoomDelta
directly. Moreover, its documentation categorizes those options: control, interaction, etc.Maybe we should follow suit and create separate types
LeafletControlOptions
,LeafletStateOptions
, etc.Then the user could do:
The text was updated successfully, but these errors were encountered: