typeAlias
ControlPosition
Possible position of the control.
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).
EventTargetData
The target data of a pointer event.
Expression
[ExpressionName, ...any[]]
ExpressionName
"interpolate"|"step"|"match"|"gltf-animation"
GraphicsPresetFeatureFlag
Graphics preset feature flags.
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.
Source
GeoJsonSource|RasterTileSource
SupportedSimpleOpts
"disableDragging"|"enableTrackResize"|"loopWorld"|"disableHidingPois"|"enableTwoFingerDragging"
TileCoords
Tile coordinates [x, y, zoom]
WebGLContext
WebGLRenderingContext|WebGL2RenderingContext
WebGLVersion
1|2