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"|"modelShowHideEventsSublayers"|"graphicsPreset"
Easing
A set of easing functions (https://easings.net/en).
EventTargetData
The target data of a pointer event.
Expression
Type representing the style layer property expressions.
For detailed information about expression compositing, exceptions, and specific property requirements for different layer types, refer to the MapGL JS API documentation.
ExpressionName
TypeExpressionName|ExtractorExpressionName|LogicalExpressionName|MathExpressionName|InterpolateExpressionName|"pattern"
ExtractorExpressionName
"get"|"sourceAttr"|"featureState"|"global"
GraphicsPresetFeatureFlag
Graphics preset feature flags.
GraphicsPresetName
"light"|"normal"|"immersive"
InterpolateExpression
["interpolate", ["linear"]|["exponential", number], ["zoom"], ...T[]]
InterpolateExpressionName
"interpolate"|"step"
Layer
For more information on how to use style layers, refer to the MapGL JS API documentation.
LogicalExpressionName
"!"|"=="|"!="|">"|">="|"<"|"<="|"match"|"all"|"any"|"in"
MathExpressionName
"^"|"log10"
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]
TypeExpressionName
"to-boolean"|"to-color"|"literal"
WebGLContext
WebGLRenderingContext|WebGL2RenderingContext
WebGLVersion
1|2