An equivalent of passing animate to both zoom and pan options (see below).
Equivalent of setting both top left and bottom right padding to the same value.
Default value: [0, 0].
The same for bottom right corner of the map.
Default value: [0, 0].
Sets the amount of padding in the top left corner of a map container that shouldn't be accounted for when setting the view to fit bounds. Useful if you have some control overlays on the map like a sidebar and you don't want them to obscure objects you're zooming to.
Default value: [0, 0].
Sets the options for the panning (without the zoom change) if it occurs.
If true, the map view will be completely reset (without any animations).
Default value: false.
Sets the options for the zoom change if it occurs.