Map View
A class used by an application to display a map.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Add cluster of markers to map.
Link copied to clipboard
open fun addDataReadyListener(listener: MapView.DataReadyListener, @Nullable executor: Executor)
Content copied to clipboard
Link copied to clipboard
open fun addEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)
Content copied to clipboard
Adds callback for underlying OpenGL calls of swap buffers.
Link copied to clipboard
open fun addGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
Content copied to clipboard
Link copied to clipboard
open fun addMapGestureListener(listener: MapGesturesDetector.MapGestureListener)
Content copied to clipboard
Adds the map gesture listener.
Link copied to clipboard
Link copied to clipboard
open fun calculateFromMapRectangle( @NonNull mapRectangle: MapRectangle, @NonNull mapCenter: MapCenter, @FloatRange(from = "-180.0", to = 180.0 ) rotation: Float, tilt: Float, @FloatRange(from = 0.0, to = Float.MAX_VALUE ) maxZoomLevel: Float): CameraState.PositionOrientation
Content copied to clipboard
Calculates CameraState.
open fun calculateFromMapRectangle( @NonNull mapRectangle: MapRectangle, @NonNull mapCenter: MapCenter, @FloatRange(from = "-180.0", to = 180.0 ) rotation: Float, tilt: Float, @FloatRange(from = 0.0, to = Float.MAX_VALUE ) maxZoomLevel: Float, @Nullable sourceState: CameraState): CameraState
Content copied to clipboard
Calculates CameraState to animate Camera with, given mapRectangle and camera states
Link copied to clipboard
Link copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
Link copied to clipboard
open fun geoCoordinatesFromPoints(@NonNull points: List<Point>): List<GeoCoordinates>
Content copied to clipboard
Returns geo coordinates of the points on the map regarding of screen coordinates.
Link copied to clipboard
Returns list of names of skins which are set for current map.
Link copied to clipboard
Returns list of names of available skins.
Link copied to clipboard
Returns the BreadCrumbs
Link copied to clipboard
Link copied to clipboard
Get current FPS limit
Link copied to clipboard
Returns MapDataModel backing up the MapView
Link copied to clipboard
Link copied to clipboard
Returns the PositionIndicator.
Link copied to clipboard
Link copied to clipboard
Returns object represents display surface for OpenGL rendering It may be android.view.SurfaceView or android.view.TextureView, depends on surface type while creating fragment
Link copied to clipboard
Link copied to clipboard
open fun injectSkinDefinition(@NonNull definition: String, @NonNull listener: MapView.InjectSkinResultListener)
Content copied to clipboard
open fun injectSkinDefinition( @NonNull definition: String, @NonNull listener: MapView.InjectSkinResultListener, @Nullable executor: Executor)
Content copied to clipboard
Link copied to clipboard
Remove cluster of markers from map
Link copied to clipboard
Link copied to clipboard
open fun removeEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)
Content copied to clipboard
Removes callback for underlying OpenGL calls of swap buffers.
Link copied to clipboard
open fun removeGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
Content copied to clipboard
Link copied to clipboard
open fun removeMapGestureListener(listener: MapGesturesDetector.MapGestureListener): Boolean
Content copied to clipboard
Removes the map gesture listener.
Link copied to clipboard
Link copied to clipboard
open fun requestObjectsAtPoint( x: Float, y: Float, callback: RequestObjectCallback): Int
Content copied to clipboard
Requests the information about point on map
Link copied to clipboard
Link copied to clipboard
open fun screenPointsFromGeoCoordinates(@NonNull geoCoordinates: List<GeoCoordinates>): List<Point>
Content copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
Link copied to clipboard
Set custom FPS limit for rendering
Link copied to clipboard
open fun setIncidentWarningSettings(@NonNull settings: IncidentWarningSettings)
Content copied to clipboard
Link copied to clipboard
open fun setIncidentWarningSettingsInternal(@Nullable settings: IncidentWarningSettings)
Content copied to clipboard
Link copied to clipboard
open fun setLogisticInfoSettings(@NonNull settings: LogisticInfoSettings)
Content copied to clipboard
Link copied to clipboard
Sets the language for map This will affect language of displayed names on map
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMapLayerCategoryVisibilityInternal(category: Int, enable: Boolean)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setMapWarningSettingsInternal(@Nullable settings: MapWarningSettings)
Content copied to clipboard
Link copied to clipboard
Change pixel format for underlying GL surface.
Link copied to clipboard
open fun setRouteRestrictionSettings(@NonNull settings: RouteRestrictionSettings)
Content copied to clipboard
Link copied to clipboard
open fun setTrafficSignFormSettings(@NonNull settings: TrafficSignFormSettings)
Content copied to clipboard
Sets custom visual settings for traffic sign form
Link copied to clipboard
Sets custom visual settings for traffic sign for specific world region
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard