MapTiler SDK - v4.1.0
Modules
Classes
- Actor
- AlphaImage
- AnimatedRouteLayer
- CollisionBoxArray
- Color
- ColorArray
- ColorRamp
- CompoundExpression
- CubemapLayer
- Dispatcher
- ErrorEvent
- EvaluationContext
- Event
- FeatureIndex
- FormatExpression
- Formatted
- FormattedSection
- GeoJSONFeature
- ImageAtlas
- ImageViewer
- ImageViewerEvent
- ImageViewerMarker
- ImageViewerMarkerEvent
- Interpolate
- Literal
- Map
- MapStyleVariant
- MaptilerAnimation
- MaptilerCustomControl
- MaptilerExternalControl
- MaptilerGeolocateControl
- MaptilerLogoControl
- MaptilerProjectionControl
- MaptilerTerrainControl
- NumberArray
- OverscaledTileID
- Padding
- Painter
- ParsingError
- ProjectionDefinition
- RadialGradientLayer
- ReferenceMapStyle
- ResolvedImage
- SdkConfig
- ServiceError
- Step
- Style
- StyleExpression
- StyleLayer
- StylePropertyFunction
- Tile
- ValidationError
- VariableAnchorOffsetCollection
- ZoomConstantExpression
- ZoomDependentExpression
Interfaces
- AttributionControlOptions
- Bucket
- CustomLayerInterface
- DragMoveHandler
- DragMovementResult
- DragPanResult
- DragPitchResult
- DragRollResult
- DragRotateResult
- Expression
- Handler
- IActor
- ICanonicalTileID
- IControl
- ILngLat
- IMercatorCoordinate
- IValue
- Link
- MaptilerAnimationOptions
- MinimapOptions
- MinimapOptionsInput
- MousePanHandler
- MousePitchHandler
- MouseRollHandler
- MouseRotateHandler
- ParentRect
- ParseGeoJSONToKeyframesOptions
- PlacemarkProperties
- Point2D
- Property
- StyleImageInterface
- Subscription
- VisibilityExpression
- XMLProperties
Type Aliases
- $ObjMap
- ActorMessage
- ActorTarget
- AddLayerObject
- AddProtocolAction
- AJAXError
- Alignment
- AllLayoutProperties
- AllPaintProperties
- AnimatedCameraOptions
- AnimatedRouteLayerOptions
- AnimatedStrokeOptions
- AnimationEvent
- AnimationEventCallback
- AnimationEventListenersRecord
- AnimationEventTypes
- AnimationOptions
- AroundCenterOptions
- ArrayColor
- ArrayColorRamp
- ArrayColorRampStop
- AttributeBinder
- AutomaticStaticMapOptions
- BackgroundLayerSpecification
- BaseGeocodingOptions
- BinderUniform
- BlendEquationType
- BlendFuncConstant
- BlendFuncType
- BoundedStaticMapOptions
- BoxZoomEndHandler
- BoxZoomHandlerOptions
- BucketFeature
- BucketParameters
- BucketPart
- BufferToPixelDataFunction
- ByIdGeocodingOptions
- CalculateTileZoomFunction
- CameraForBoundsOptions
- CameraForBoxAndBearingHandlerResult
- CameraFunctionSpecification
- CameraOptions
- CameraPosition
- CameraUpdateTransformFunction
- CanonicalTileRange
- CanvasSourceSpecification
- CenteredStaticMapOptions
- CenterZoomBearing
- CircleGranularity
- CircleLayerSpecification
- CircleLayoutProps
- CircleLayoutPropsPossiblyEvaluated
- CirclePaintProps
- CirclePaintPropsPossiblyEvaluated
- ClearArgs
- ClusterIDAndSource
- CollatorExpressionSpecification
- CollisionArrays
- CollisionGroup
- ColorArraySpecification
- ColorMaskType
- ColorPalette
- ColorRampOptions
- ColorRampTextures
- ColorReliefLayerSpecification
- ColorReliefPaintProps
- ColorReliefPaintPropsPossiblyEvaluated
- ColorSpecification
- ColorStop
- CommonForwardAndReverseGeocodingOptions
- CommonShapeLayerOptions
- CompareFuncType
- Complete
- CompleteMapOptions
- CompositeExpression
- CompositeFunctionSpecification
- Config
- ControlPosition
- CoordinateExport
- CoordinateGrid
- CoordinateId
- Coordinates
- CoordinateSearch
- CoordinateSearchResult
- CoordinatesSearchOptions
- CoordinatesTransformOptions
- CoordinateTransformation
- CoordinateTransformResult
- CoveringTilesDetailsProvider
- CoveringTilesOptions
- CreateTileMeshOptions
- CrossFaded
- CrossfadeParameters
- CrossTileID
- CubemapDefinition
- CubemapFaces
- CubemapLayerConstructorOptions
- CullFaceModeType
- CustomRenderMethod
- CustomRenderMethodInput
- DashEntry
- DataDrivenPropertyValueSpecification
- DataDrivenStyle
- DataTextureImage
- DefaultTransformation
- DEMEncoding
- DepthFuncType
- DepthMaskType
- DepthRangeType
- DiffCommand
- DiffOperations
- DistributiveKeys
- DistributiveOmit
- DoubleClickZoomHandler
- DragPanHandler
- DragPanOptions
- DragRotateHandler
- DragRotateHandlerOptions
- DrawMode
- EaseToHandlerOptions
- EaseToHandlerResult
- EaseToOptions
- EasingFunctionName
- EdgeInsets
- ElevationAtOptions
- ElevationBatchOptions
- EmptyImage
- Entry
- ErrorLike
- Evented
- EventInProgress
- EventsInProgress
- ExpiryData
- ExpressionFilterSpecification
- ExpressionInputType
- ExpressionSpecification
- Feature
- FeatureFilter
- FeatureHierarchy
- FeatureIdentifier
- FeatureKey
- FeaturePosition
- FeatureState
- FeatureStates
- FetchFunction
- FillExtrusionLayerSpecification
- FillExtrusionPaintProps
- FillExtrusionPaintPropsPossiblyEvaluated
- FillLayerSpecification
- FillLayoutProps
- FillLayoutPropsPossiblyEvaluated
- FillPaintProps
- FillPaintPropsPossiblyEvaluated
- FilterSpecification
- FitBoundsOptions
- FlyToHandlerOptions
- FlyToHandlerResult
- FlyToOptions
- FontFacesSpecification
- FormattedSpecification
- FrameCallback
- FrontFaceType
- FullscreenControlOptions
- GeocodingFeature
- GeocodingOptions
- GeocodingSearchResult
- GeoJSONFeatureDiff
- GeoJSONFeatureId
- GeoJSONSourceDiff
- GeoJSONSourceOptions
- GeoJSONSourceSpecification
- GeoJSONWorkerOptions
- GeoJSONWorkerSourceLoadDataResult
- GeolocateControlOptions
- GeolocationInfoOptions
- GeolocationResult
- GestureOptions
- GetClusterLeavesParams
- GetDataOptions
- GetGlyphsParameters
- GetGlyphsResponse
- GetImagesParameters
- GetImagesResponse
- GetResourceResponse
- GlobalProperties
- GlyphMetrics
- GlyphPosition
- GlyphPositions
- GradientAttributeKey
- GradientDefinition
- GradientPlaneObject3D
- GradientStop
- GradientStopColor
- GradientTexture
- GradientUniformKey
- GridKey
- HandlerResult
- Hash
- HeatmapLayerOptions
- HeatmapLayerSpecification
- HeatmapPaintProps
- HeatmapPaintPropsPossiblyEvaluated
- HillshadeLayerSpecification
- HillshadePaintProps
- HillshadePaintPropsPossiblyEvaluated
- IBoundingVolume
- ICameraHelper
- ILngLatLike
- ImageMetadata
- ImageSourceSpecification
- ImageViewerConstructorOptions
- ImageViewerEventTypes
- ImageViewerFlyToOptions
- ImageViewerJumpToOptions
- ImageViewerMarkerOptions
- IndexedFeature
- IndexToPointCache
- IndicesType
- InterpolatedKeyFrame
- InterpolationSpecification
- InterpolationType
- IntersectionResult
- IReadonlyTransform
- ITransform
- ITransformGetters
- ITransformMutators
- JumpToOptions
- Keyframe
- KeyframeableGeoJSONFeature
- KeyframeableGeometry
- LanguageGeocodingOptions
- LanguageInfo
- LayerFeatureStates
- LayerSpecification
- LegacyFilterSpecification
- LightPosition
- LightProps
- LightPropsPossiblyEvaluated
- LightSpecification
- LineClips
- LineLayerSpecification
- LineLayoutProps
- LineLayoutPropsPossiblyEvaluated
- LinePaintProps
- LinePaintPropsPossiblyEvaluated
- Listener
- LngLat
- LngLatBounds
- LoadGeoJSONParameters
- LoadTileResult
- LoadWithTerrainEvent
- LogoControlOptions
- MapControlsDeltas
- MapGeoJSONFeature
- MapOptions
- MapSourceDataType
- MapStylePreset
- MapStyleType
- MaptilerCustomControlCallback
- MaptilerExternalControlType
- MarkerOptions
- MercatorCoordinate
- MessageData
- MessageHandler
- MLFontFace
- NumberArraySpecification
- NumericArrayWithNull
- Offset
- OverlapMode
- PaddingSpecification
- PainterOptions
- Pattern
- PixelData
- PlacedBox
- PlacedCircles
- PluginState
- Point
- PointLayerOptions
- PointProjection
- PolygonLayerOptions
- PolylineLayerOptions
- PoolObject
- PopulateParameters
- PopupOptions
- PositionAnchor
- PossiblyEvaluatedValue
- PreloadTilesForBoundsOptions
- PreloadTilesForCameraPositionsOptions
- PreloadTilesOptions
- PreparedShader
- Projection
- ProjectionCache
- ProjectionData
- ProjectionDataParams
- ProjectionDefinitionSpecification
- ProjectionDefinitionT
- ProjectionGPUContext
- ProjectionPreludeUniformsType
- ProjectionSpecification
- PromoteIdSpecification
- PropertyValues
- PropertyValueSpecification
- QueryIntersectsFeatureParams
- QueryParameters
- QueryRenderedFeaturesOptions
- QueryRenderedFeaturesOptionsStrict
- QueryResult
- QueryResults
- QueryResultsItem
- QuerySourceFeatureOptions
- RadialGradientLayerConstructorOptions
- RasterDEMSourceSpecification
- RasterLayerSpecification
- RasterSourceSpecification
- Rect
- RemoveSourceParams
- RenderOptions
- RenderPass
- RequestParameters
- RequestResponseMessageMap
- RequestTransformFunction
- RequireAtLeastOne
- ResolvedImageSpecification
- ResolveReject
- ReverseGeocodingOptions
- RgbaColor
- RTLPluginStatus
- ScaleControlOptions
- SchemaSpecification
- Segment
- Serialized
- SerializedFeaturePositionMap
- SerializedGrid
- SerializedObject
- SerializedStructArray
- SetClusterOptions
- SingleCollisionBox
- Size
- SizeData
- SkyProps
- SkyPropsPossiblyEvaluated
- SkySpecification
- SortKeyRange
- SourceClass
- SourceData
- SourceExpression
- SourceFunctionSpecification
- SourceSpecification
- SpriteOnDemandStyleImage
- SpriteSpecification
- StateSpecification
- StaticMapBaseOptions
- StaticMapMarker
- StencilFuncType
- StencilOpConstant
- StencilOpType
- StencilTestGL
- StructArrayMember
- StyleGlyph
- StyleImage
- StyleImageData
- StyleImageMetadata
- StyleOptions
- StylePropertyExpression
- StylePropertySpecification
- StyleSetterOptions
- StyleSpecification
- StyleSpecificationWithMetaData
- StyleSwapOptions
- SymbolFeature
- SymbolInstance
- SymbolLayerSpecification
- SymbolLayoutProps
- SymbolLayoutPropsPossiblyEvaluated
- SymbolPaintProps
- SymbolPaintPropsPossiblyEvaluated
- SymbolProjectionContext
- SymbolQuad
- TerrainData
- TerrainPreludeUniformsType
- TerrainSpecification
- TextAnchor
- TextAnchorOffset
- TextureFilter
- TextureFormat
- TextureImage
- TextureUnitType
- TextureWrap
- TileJSON
- TileLayerParameters
- TileMesh
- TileMeshUsage
- TileParameters
- TilePreloadErrorCallback
- TilePreloadOptions
- TilePreloadProgressCallback
- TileResult
- TileState
- TimePoint
- TransformConstrainFunction
- TransformStyleFunction
- TransitionParameters
- TransitionSpecification
- TwoFingersTouchRotateHandler
- TwoFingersTouchZoomHandler
- TwoFingersTouchZoomRotateHandler
- Type
- TypedStyleLayer
- UniformBinder
- UniformBindings
- UniformLocations
- UniformValues
- Unit
- UpdateImageOptions
- UpdateLayersParameters
- VariableAnchorOffsetCollectionSpecification
- VariableExpressionSpecification
- VariableOffset
- VectorSourceSpecification
- VectorTileSourceOptions
- VerticalAlign
- VideoSourceSpecification
- ViewportType
- ViewType
- VisibilitySpecification
- WebGLContextAttributesWithType
- WebGLSupportedVersions
- WithTilePreload
- WorkerDEMTileParameters
- WorkerTileParameters
- WorkerTileResult
- XYZ
- ZoomNumberValues
- ZoomStringValues
Variables
- addProtocol
- addSourceType
- AJAXError
- ANIM_LAYER_PREFIX
- AnimationEventTypesArray
- AttributionControlMLGL
- BoxZoomHandlerMLGL
- CanvasSourceMLGL
- clearPrewarmedResources
- colorPalettes
- ColorRampCollection
- ColorType
- config
- configMLGL
- CooperativeGesturesHandlerMLGL
- coordinates
- cubemapPresets
- data
- DoubleClickZoomHandler
- DragPanHandler
- DragRotateHandler
- EdgeInsets
- elevation
- Evented
- expression
- expressions
- EXTENT
- FormattedType
- FullscreenControlMLGL
- function
- geocoding
- GeoJSONSourceMLGL
- GeolocateControlMLGL
- geolocation
- GeolocationType
- getMapLibreVersion
- getMaxParallelImageRequests
- getRTLTextPluginStatus
- getWorkerCount
- getWorkerUrl
- Hash
- ImageSourceMLGL
- importScriptInWorkers
- interpolates
- KeyboardHandlerMLGL
- Language
- latest
- LngLat
- LngLatBounds
- LogoControlMLGL
- MapMLGL
- MapMouseEventMLGL
- MapStyle
- mapStylePresetList
- MapTouchEventMLGL
- MapWheelEventMLGL
- MarkerMLGL
- math
- MercatorCoordinate
- misc
- NullType
- Point
- PopupMLGL
- prewarm
- ProjectionDefinitionType
- RasterDEMTileSourceMLGL
- RasterTileSourceMLGL
- removeProtocol
- ScaleControlMLGL
- ScrollZoomHandlerMLGL
- setMaxParallelImageRequests
- setRTLTextPlugin
- setWorkerCount
- setWorkerUrl
- staticMaps
- StyleMLGL
- TerrainControMLGL
- TwoFingersTouchPitchHandlerMLGL
- TwoFingersTouchRotateHandler
- TwoFingersTouchZoomHandler
- TwoFingersTouchZoomRotateHandler
- v8
- VectorTileSourceMLGL
- VideoSourceMLGL
- visit
Functions
- addHeatmap
- addPoint
- addPolygon
- addPolyline
- areSameLanguages
- bufferToPixelDataBrowser
- canParsePixelData
- circumferenceAtLatitude
- classifyRings
- colorDrivenByProperty
- computeRampedOutlineWidth
- convertFilter
- convertFunction
- createBezierPathFromCoordinates
- createExpression
- createFunction
- createPropertyExpression
- createTileMesh
- createVisibilityExpression
- dashArrayMaker
- derefLayers
- diff
- displayWebGLContextLostWarning
- DOMcreate
- DOMremove
- emptyStyle
- expandMapStyle
- featureFilter
- findNextEntryAndIndexWithValue
- findPreviousEntryAndIndexWithValue
- format
- generateRandomLayerName
- generateRandomSourceName
- getAutoLanguage
- getAverageDistance
- getBrowserLanguage
- getBufferToPixelDataParser
- getGlobalDispatcher
- getKeyframes
- getLanguageInfoFromCode
- getLanguageInfoFromFlag
- getLanguageInfoFromKey
- getRandomColor
- getTileCache
- getVersion
- getWebGLSupportError
- gpx
- gpxOrKml
- groupByLayout
- hasChildNodeWithName
- heatmapIntensityFromColorRamp
- isExpression
- isFunction
- isLanguageInfo
- isTimeFrozen
- isZoomExpression
- kml
- lerp
- lerpArrayValues
- lerpZoomNumberValues
- migrate
- normalizePropertyExpression
- now
- opacityDrivenByProperty
- paintColorOptionsToPaintSpec
- parseGeoJSONFeatureToKeyframes
- radiusDrivenByProperty
- radiusDrivenByPropertyHeatmap
- rampedOptionsToLayerPaintSpec
- rampedPropertyValueWeight
- resamplePath
- restoreNow
- setNow
- simplifyPath
- str2xml
- stretchNumericalArray
- styleToStyle
- supportsPropertyExpression
- takeScreenshot
- toggleProjection
- toggleTerrain
- toLanguageInfo
- toString
- typeOf
- validate
- validateStyleMin
- xml2str
Event Related
Geography and Geometry
Handlers
Main
Markers and Controls
Sources
\> ℹ️ **Note:** The default `tileSize` is `512`. If your tile provider (such as OpenStreetMap or Stadia Maps) serves 256px tiles, set `tileSize: 256` manually to avoid blurry rendering due to upscaling.
Was this helpful?