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
interface GeoCoordinateToScreenPointCallback
Link copied to clipboard
enum InjectSkinResult
Link copied to clipboard
interface InjectSkinResultListener
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
Link copied to clipboard
Adds callback for underlying OpenGL calls of swap buffers.
Link copied to clipboard
open fun addGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
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
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
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)
open fun injectSkinDefinition(@NonNull definition: String, @NonNull listener: MapView.InjectSkinResultListener, @Nullable executor: Executor)
Link copied to clipboard
Remove cluster of markers from map
Link copied to clipboard
Link copied to clipboard
Removes callback for underlying OpenGL calls of swap buffers.
Link copied to clipboard
open fun removeGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
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
Link copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
Link copied to clipboard
open fun setEnabledViolationTypes(@NonNull violationTypes: List<RouteRestrictionSettings.ViolationType>)
Sets enabled violations types for route restrictions
Link copied to clipboard
Set custom FPS limit for rendering
Link copied to clipboard
Link copied to clipboard
Link 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Change pixel format for underlying GL surface.
Link copied to clipboard
Sets custom visual settings and enabled violations types for route restrictions
Sets custom visual settings and enabled violations types for route restrictions, overrides previous calls setRouteRestrictionSettings, setEnabledViolationTypes or setTrafficSignFormSettings with RouteRestriction
Link copied to clipboard
Sets custom visual settings for traffic sign form overrides previous call setRouteRestrictionSettings, if used with RouteRestriction
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