MapView

A class used by an application to display a map.

Types

Link copied to clipboard
Link copied to clipboard
annotation class DataState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class MapDataModel
Link copied to clipboard
Link copied to clipboard
annotation class SpeedUnits
Link copied to clipboard
Link copied to clipboard
annotation class WarningsType

Functions

Link copied to clipboard
Add cluster of markers to map.
Link copied to clipboard
Link copied to clipboard
open fun addEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)
Adds callback for underlying OpenGL calls of swap buffers.
Link 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
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
Calculates CameraState to animate Camera with, given mapRectangle and camera states
Link copied to clipboard
open fun enableRendering(enable: Boolean)
Link copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
Link 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
Link copied to clipboard
Link copied to clipboard
Get current FPS limit
Link copied to clipboard
open fun getHeight(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getScaling(): LowGL.ViewScaling
Link copied to clipboard
open fun getView(): View
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
open fun getWidth(): Int
Link copied to clipboard
Link copied to clipboard
open fun isValid(): Boolean
Checks if Mapview is valid.
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)
Removes callback for underlying OpenGL calls of swap buffers.
Link copied to clipboard
Removes the map gesture listener.
Link copied to clipboard
Link copied to clipboard
Requests the information about point on map
Link copied to clipboard
open fun scaleScreenToView(value: Float): Float
open fun scaleScreenToView(value: Int): Int
Link copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
Link copied to clipboard
open fun setFpsLimit(fpsConfig: FpsConfig)
Set custom FPS limit for rendering
Link copied to clipboard
Link copied to clipboard
open fun setMapLanguage(@NonNull locale: Locale)
Sets the language for map This will affect language of displayed names on map
Link copied to clipboard
Link copied to clipboard
open fun setMapLayerCategoryVisibility(category: Int, enable: Boolean)
Link copied to clipboard
open fun setMapSpeedUnits(units: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setPixelFormat(pixelFormat: Int)
Change pixel format for underlying GL surface.
Link 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
open fun setZOrderMediaOverlay(isMediaOverlay: Boolean)
Link copied to clipboard
open fun setZOrderOnTop(isOnTop: Boolean)