Optional
boundsOverrides the center
and zoom
parameters.
LngLatBoundsArray
// whole world
bounds: [0, -90, 180, 90]
Optional
centerInitial position of the map, array of two degrees [longitude, latitude]. LngLatArray
Optional
maxOptional
maxThe maximum zoom level of the map (0-24).
Optional
minThe minimum zoom level of the map (0-24).
Optional
zoomThe initial zoom level of the map (0-24).
Generated using TypeDoc
Initial extent of the map, array of degrees in [west, south, east, north] order.