LeafletMap
The central class of the API — it is used to create a map on a page and manipulate it.
https://leafletjs.com/reference.html#map-example
Types
Artificial interface. Used so ZoomOptions and PanOptions both have an animate property, and other interfaces (e.g. ZoomPanOptions) can inherit from both.
Constructor parameters for LeafletMap
Options for LeafletMap methods
Properties
Functions
Checks if the map container size changed and updates the map if so — call it after you've changed the map size dynamically, also animating pan by default. If InvalidateSizeOptions.pan is false, panning will not occur. If InvalidateSizeOptions.debounceMoveend is true, it will delay moveend event
so that it doesn't happen often even if the method is called many times in a row.
Checks if the map container size changed and updates the map if so — call it after you've changed the map size dynamically, also animating pan by default.