Map
Map class provides map rendering functionality.
Constructors
Map
Link copied to clipboard
open fun Map(client: MapClient, mapOptions: MapOptions, resourceOptions: ResourceOptions)
Content copied to clipboard
Initializes the map object.
Functions
addPersistentStyleCustomLayer
Link copied to clipboard
@NonNull()
Content copied to clipboard
addPersistentStyleLayer
Link copied to clipboard
@NonNull()
Content copied to clipboard
addStyleCustomGeometrySource
Link copied to clipboard
@NonNull()
Content copied to clipboard
addStyleCustomLayer
Link copied to clipboard
@NonNull()
Content copied to clipboard
addStyleImage
Link copied to clipboard
@NonNull()
Content copied to clipboard
addStyleLayer
Link copied to clipboard
@NonNull()
Content copied to clipboard
addStyleSource
Link copied to clipboard
addViewAnnotation
Link copied to clipboard
@NonNull()
Content copied to clipboard
cameraForCoordinateBounds
Link copied to clipboard
@NonNull()
Content copied to clipboard
cameraForCoordinates
Link copied to clipboard
@NonNull()
Content copied to clipboard
@NonNull()
Content copied to clipboard
cameraForGeometry
Link copied to clipboard
@NonNull()
Content copied to clipboard
clearData
Link copied to clipboard
open fun clearData(resourceOptions: ResourceOptions, callback: AsyncOperationResultCallback)
Content copied to clipboard
coordinateBoundsForCamera
Link copied to clipboard
@NonNull()
Content copied to clipboard
coordinateBoundsForCameraUnwrapped
Link copied to clipboard
@NonNull()
Content copied to clipboard
coordinateBoundsZoomForCamera
Link copied to clipboard
@NonNull()
Content copied to clipboard
coordinateBoundsZoomForCameraUnwrapped
Link copied to clipboard
@NonNull()
Content copied to clipboard
coordinateForPixel
Link copied to clipboard
coordinatesForPixels
Link copied to clipboard
@NonNull()
Content copied to clipboard
createRenderer
Link copied to clipboard
open fun createRenderer()
Content copied to clipboard
destroyRenderer
Link copied to clipboard
open fun destroyRenderer()
Content copied to clipboard
dragStart
Link copied to clipboard
getBounds
Link copied to clipboard
getCameraState
Link copied to clipboard
getDebug
Link copied to clipboard
getDragCameraOptions
Link copied to clipboard
@NonNull()
Content copied to clipboard
getElevation
Link copied to clipboard
getFeatureState
Link copied to clipboard
open fun getFeatureState(sourceId: String, sourceLayerId: String, featureId: String, callback: QueryFeatureStateCallback)
Content copied to clipboard
getFreeCameraOptions
Link copied to clipboard
getMapOptions
Link copied to clipboard
getMapProjection
Link copied to clipboard
getNativePtr
Link copied to clipboard
getPrefetchZoomDelta
Link copied to clipboard
getRenderCacheOptions
Link copied to clipboard
getResourceOptions
Link copied to clipboard
getStyleDefaultCamera
Link copied to clipboard
getStyleImage
Link copied to clipboard
getStyleJSON
Link copied to clipboard
getStyleLayerProperties
Link copied to clipboard
getStyleLayerProperty
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleLayerPropertyDefaultValue
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleLayers
Link copied to clipboard
getStyleLightProperty
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleSourceProperties
Link copied to clipboard
getStyleSourceProperty
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleSourcePropertyDefaultValue
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleSources
Link copied to clipboard
getStyleTerrainProperty
Link copied to clipboard
@NonNull()
Content copied to clipboard
getStyleTransition
Link copied to clipboard
getStyleURI
Link copied to clipboard
getViewAnnotationOptions
Link copied to clipboard
@NonNull()
Content copied to clipboard
hasStyleImage
Link copied to clipboard
invalidateStyleCustomGeometrySourceRegion
Link copied to clipboard
@NonNull()
Content copied to clipboard
invalidateStyleCustomGeometrySourceTile
Link copied to clipboard
@NonNull()
Content copied to clipboard
isGestureInProgress
Link copied to clipboard
isMapLoaded
Link copied to clipboard
isStyleLayerPersistent
Link copied to clipboard
isStyleLoaded
Link copied to clipboard
isUserAnimationInProgress
Link copied to clipboard
moveStyleLayer
Link copied to clipboard
@NonNull()
Content copied to clipboard
pixelForCoordinate
Link copied to clipboard
@NonNull()
Content copied to clipboard
pixelsForCoordinates
Link copied to clipboard
@NonNull()
Content copied to clipboard
queryFeatureExtensions
Link copied to clipboard
open fun queryFeatureExtensions(sourceIdentifier: String, feature: Feature, extension: String, extensionField: String, args: HashMap<String, Value>, callback: QueryFeatureExtensionCallback)
Content copied to clipboard
queryRenderedFeatures
Link copied to clipboard
@NonNull()
Content copied to clipboard
open fun queryRenderedFeatures(box: ScreenBox, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
open fun queryRenderedFeatures(pixel: ScreenCoordinate, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
open fun queryRenderedFeatures(shape: List<ScreenCoordinate>, options: RenderedQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
querySourceFeatures
Link copied to clipboard
open fun querySourceFeatures(sourceId: String, options: SourceQueryOptions, callback: QueryFeaturesCallback)
Content copied to clipboard
reduceMemoryUse
Link copied to clipboard
removeFeatureState
Link copied to clipboard
open fun removeFeatureState(sourceId: String, sourceLayerId: String, featureId: String, stateKey: String)
Content copied to clipboard
removeStyleImage
Link copied to clipboard
removeStyleLayer
Link copied to clipboard
removeStyleSource
Link copied to clipboard
removeViewAnnotation
Link copied to clipboard
setCamera
Link copied to clipboard
setConstrainMode
Link copied to clipboard
setDebug
Link copied to clipboard
setFeatureState
Link copied to clipboard
open fun setFeatureState(sourceId: String, sourceLayerId: String, featureId: String, state: Value)
Content copied to clipboard
setGestureInProgress
Link copied to clipboard
setMapProjection
Link copied to clipboard
setMemoryBudget
Link copied to clipboard
setNorthOrientation
Link copied to clipboard
setPrefetchZoomDelta
Link copied to clipboard
setRenderCacheOptions
Link copied to clipboard
setStyleCustomGeometrySourceTileData
Link copied to clipboard
@NonNull()
Content copied to clipboard
setStyleJSON
Link copied to clipboard
setStyleLayerProperties
Link copied to clipboard
setStyleLayerProperty
Link copied to clipboard
setStyleLight
Link copied to clipboard
setStyleLightProperty
Link copied to clipboard
setStyleSourceProperties
Link copied to clipboard
setStyleSourceProperty
Link copied to clipboard
setStyleTerrain
Link copied to clipboard
setStyleTerrainProperty
Link copied to clipboard
setStyleTransition
Link copied to clipboard
setStyleURI
Link copied to clipboard
setUserAnimationInProgress
Link copied to clipboard
setViewAnnotationPositionsUpdateListener
Link copied to clipboard
open fun setViewAnnotationPositionsUpdateListener(listener: ViewAnnotationPositionsUpdateListener)
Content copied to clipboard
setViewportMode
Link copied to clipboard
styleLayerExists
Link copied to clipboard
styleSourceExists
Link copied to clipboard
triggerRepaint
Link copied to clipboard
unsubscribe
Link copied to clipboard
updateStyleImageSourceImage
Link copied to clipboard
updateViewAnnotation
Link copied to clipboard
@NonNull()
Content copied to clipboard