For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias FitBoundsOptions
Type Declaration
-
Optionallinear?: booleanIf
true, the map transitions using Map.easeTo. Iffalse, the map transitions using Map.flyTo. See those functions and AnimationOptions for information about options available. -
OptionalmaxZoom?: numberThe maximum zoom level to allow when the map view transitions to the specified bounds.
-
Optionaloffset?: PointLikeThe center of the given bounds relative to the map's center, measured in pixels.
Options for Map.fitBounds method