Map View
A class used by an application to display a map.
Types
Country Signage
Link copied to clipboard
Data Ready Listener
Link copied to clipboard
Data State
Link copied to clipboard
Geo Coordinate To Screen Point Callback
Link copied to clipboard
interface GeoCoordinateToScreenPointCallback
Content copied to clipboard
Map Data Model
Link copied to clipboard
abstract class MapDataModel
Content copied to clipboard
Map Layer Category
Link copied to clipboard
On Init Listener
Link copied to clipboard
Speed Units
Link copied to clipboard
State
Link copied to clipboard
Warnings Type
Link copied to clipboard
Functions
add Cluster Layer
Link copied to clipboard
Add cluster of markers to map.
add Data Ready Listener
Link copied to clipboard
open fun addDataReadyListener(listener: MapView.DataReadyListener, @Nullable executor: Executor)
Content copied to clipboard
add Egl Callback
Link copied to clipboard
open fun addEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)
Content copied to clipboard
Adds callback for underlying OpenGL calls of swap buffers.
add Geo Coordinate To Screen Point Listener
Link copied to clipboard
open fun addGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
Content copied to clipboard
add Map Gesture Listener
Link copied to clipboard
open fun addMapGestureListener(listener: MapGesturesDetector.MapGestureListener)
Content copied to clipboard
Adds the map gesture listener.
add Validity Listener
Link copied to clipboard
calculate From Map Rectangle
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
enable Rendering
Link copied to clipboard
geo Coordinates From Point
Link copied to clipboard
Returns geo coordinates of the point on the map regarding of screen coordinates.
geo Coordinates From Points
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.
get Active Skins
Link copied to clipboard
Returns list of names of skins which are set for current map.
get Available Skins
Link copied to clipboard
Returns list of names of available skins.
get Bread Crumbs
Link copied to clipboard
Returns the BreadCrumbs
get Camera Model
Link copied to clipboard
get Fps Limit
Link copied to clipboard
Get current FPS limit
get Map Data Model
Link copied to clipboard
Returns MapDataModel backing up the MapView
get Min Max Zoom Level
Link copied to clipboard
get Position Indicator
Link copied to clipboard
Returns the PositionIndicator.
get Scaling
Link copied to clipboard
get View
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
get Warnings Type Visibility Internal
Link copied to clipboard
remove Cluster Layer
Link copied to clipboard
Remove cluster of markers from map
remove Data Ready Listener
Link copied to clipboard
remove Egl Callback
Link copied to clipboard
open fun removeEglCallback(@NonNull callback: GlSurfaceListener.EglCallback)
Content copied to clipboard
Removes callback for underlying OpenGL calls of swap buffers.
remove Geo Coordinate To Screen Point Listener
Link copied to clipboard
open fun removeGeoCoordinateToScreenPointListener(callback: MapView.GeoCoordinateToScreenPointCallback)
Content copied to clipboard
remove Map Gesture Listener
Link copied to clipboard
open fun removeMapGestureListener(listener: MapGesturesDetector.MapGestureListener): Boolean
Content copied to clipboard
Removes the map gesture listener.
remove Validity Listener
Link copied to clipboard
request Objects At Point
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
scale Screen To View
Link copied to clipboard
screen Points From Geo Coordinates
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.
set Fps Limit
Link copied to clipboard
Set custom FPS limit for rendering
set Incident Warning Settings
Link copied to clipboard
open fun setIncidentWarningSettings(@NonNull settings: IncidentWarningSettings)
Content copied to clipboard
set Incident Warning Settings Internal
Link copied to clipboard
open fun setIncidentWarningSettingsInternal(@Nullable settings: IncidentWarningSettings)
Content copied to clipboard
set Logistic Info Settings
Link copied to clipboard
open fun setLogisticInfoSettings(@NonNull settings: LogisticInfoSettings)
Content copied to clipboard
set Map Language
Link copied to clipboard
Sets the language for map This will affect language of displayed names on map
set Map Language Internal
Link copied to clipboard
set Map Layer Category Visibility
Link copied to clipboard
set Map Layer Category Visibility Internal
Link copied to clipboard
open fun setMapLayerCategoryVisibilityInternal(category: Int, enable: Boolean)
Content copied to clipboard
set Map Speed Units
Link copied to clipboard
set Map Speed Units Internal
Link copied to clipboard
set Map Warning Settings
Link copied to clipboard
set Map Warning Settings Internal
Link copied to clipboard
open fun setMapWarningSettingsInternal(@Nullable settings: MapWarningSettings)
Content copied to clipboard
set Pixel Format
Link copied to clipboard
Change pixel format for underlying GL surface.
set Route Restriction Settings
Link copied to clipboard
open fun setRouteRestrictionSettings(@NonNull settings: RouteRestrictionSettings)
Content copied to clipboard
set Traffic Sign Form Settings
Link copied to clipboard
open fun setTrafficSignFormSettings(@NonNull settings: TrafficSignFormSettings)
Content copied to clipboard
Sets custom visual settings for traffic sign form
set Traffic Sign Settings
Link copied to clipboard
Sets custom visual settings for traffic sign for specific world region
set Warnings Type Visibility Internal
Link copied to clipboard
set ZOrder Media Overlay
Link copied to clipboard
set ZOrder On Top
Link copied to clipboard
show Debug View
Link copied to clipboard
Show/hide debug info in MapView