Skip to main content

typeAlias

ControlPosition

Possible position of the control.
"topLeft"|"topCenter"|"topRight"|"centerLeft"|"centerRight"|"bottomLeft"|"bottomCenter"|"bottomRight"

DiscardApplyOptions

"maxBounds"|"styleZoom"|"modelsTilesUrl"|"modelsTileSet"|"defaultSourceModelsRootUrl"|"defaultSourceModelsAppearStrategy"|"sessionId"|"tileSessionId"|"tileServerDefaultLang"|"keepCenterWhileUserZoomRotate"|"preserveDrawingBuffer"|"useRtlTextPlugin"|"rtlPluginUrl"|"rtlPluginHash"|"commercialPoiRandomSeed"|"disableSurvivedPoiPrevalence"|"webglVersion"|"disableBssStatistics"|"disableBssStatisticsForCommPoi"|"bssUrl"|"disableAntiAliasing"|"key"|"zoomControl"|"trafficControl"|"scaleControl"|"floorControl"|"copyright"|"interactiveCopyright"|"autoHideOSMCopyright"|"controlsLayoutPadding"|"styleState"|"styleOptions"|"styleServer"|"tileServer"|"tileProtocol"|"tileSet"|"commercialTileSet"|"trafficServer"|"trafficProtocol"|"floorsEnabled"|"disableAnalytics"|"subdomains"|"cameraConfig"|"trafficMinZoom"|"trafficMaxZoom"|"dracoDecoderUrl"|"trafficMaxDetailLevel"|"bssHostAppParams"|"disableFlatDemIrregularMeshNormals"|"modelShowHideEventsSublayers"|"graphicsPreset"

Easing

A set of easing functions (https://easings.net/en).
"linear"|"easeInQuad"|"easeOutQuad"|"easeInOutQuad"|"easeInCubic"|"easeOutCubic"|"easeInOutCubic"|"easeInQuart"|"easeOutQuart"|"easeInOutQuart"|"easeInQuint"|"easeOutQuint"|"easeInOutQuint"|"easeInSine"|"easeOutSine"|"easeInOutSine"|"easeInExpo"|"easeOutExpo"|"easeInOutExpo"|"easeInCirc"|"easeOutCirc"|"easeInOutCirc"|"easeInElastic"|"easeOutElastic"|"easeInOutElastic"|"easeInBack"|"easeOutBack"|"easeInOutBack"|"easeOutBounce"

EventTargetData

The target data of a pointer event.
GeoJsonEventTargetData|DefaultEventTargetData

Expression

[ExpressionName, ...any[]]

ExpressionName

"interpolate"|"step"|"match"|"gltf-animation"

GraphicsPresetFeatureFlag

Graphics preset feature flags.
"skyOff"|"fogOff"|"shadowsOff"|"immersiveRoadsOff"|"modelsOff"|"globeOff"

GraphicsPresetName

"light"|"normal"|"immersive"

InterpolateExpression

["interpolate", ["linear"]|["exponential", number], ["zoom"], ...T[]]

PolylineRenderingMode

Defines the polyline rendering mode. Use: - '3d' to use the depth buffer. - '2d' to add a layer with no depth.
"2d"|"3d"

Source

GeoJsonSource|RasterTileSource

SupportedSimpleOpts

"disableDragging"|"enableTrackResize"|"loopWorld"|"disableHidingPois"|"enableTwoFingerDragging"

TileCoords

Tile coordinates [x, y, zoom]
[number, number, number]

WebGLContext

WebGLRenderingContext|WebGL2RenderingContext

WebGLVersion

1|2