MapDataModel

abstract class MapDataModel

Functions

addClusterLayer
Link copied to clipboard
abstract fun addClusterLayer(@NonNull() cluster: ClusterLayer): Boolean
addMapObject
Link copied to clipboard
open fun addMapObject(@NonNull() object: MapObject): Boolean
Adds specified map object on map.
getMapObjects
Link copied to clipboard
open fun getMapObjects(): Set<MapObject>
Returns unmodifiable set of map objects placed into the map
getPositionIndicatorAccuracyColor
Link copied to clipboard
abstract fun getPositionIndicatorAccuracyColor(): Int
Returns the color of the accuracy indicator circle.
getPositionIndicatorRotation
Link copied to clipboard
abstract fun getPositionIndicatorRotation(): Int
Gets the Indicator rotation mode.
getPositionIndicatorType
Link copied to clipboard
abstract fun getPositionIndicatorType(): Int
Gets the Indicator type.
isPositionIndicatorAccuracyVisible
Link copied to clipboard
abstract fun isPositionIndicatorAccuracyVisible(): Boolean
Indicates whether the accuracy indicator circle is visible.
isPositionIndicatorVisible
Link copied to clipboard
abstract fun isPositionIndicatorVisible(): Boolean
Indicates whether the vehicle is visible.
isWarningsTypeVisible
Link copied to clipboard
abstract fun isWarningsTypeVisible(type: Int): Boolean
removeClusterLayer
Link copied to clipboard
abstract fun removeClusterLayer(@NonNull() cluster: ClusterLayer): Boolean
removeMapObject
Link copied to clipboard
open fun removeMapObject(@NonNull() object: MapObject): Boolean
Removes specified map object from map.
setIncidentWarningSettings
Link copied to clipboard
abstract fun setIncidentWarningSettings(@NonNull() settings: IncidentWarningSettings): Boolean
setMapLanguage
Link copied to clipboard
abstract fun setMapLanguage(@NonNull() locale: Locale): Boolean
Sets the language for mapThis will affect language of displayed names on map
setMapLayerCategoryVisibility
Link copied to clipboard
abstract fun setMapLayerCategoryVisibility(category: Int, enable: Boolean): Boolean
Toggles the visibility of items from MapLayerCategory list on map
setMapSpeedUnits
Link copied to clipboard
abstract fun setMapSpeedUnits(units: Int): Boolean
Sets the speed units in which the speed values should be displayed on map
setMapWarningSettings
Link copied to clipboard
abstract fun setMapWarningSettings(@NonNull() settings: MapWarningSettings): Boolean
setPositionIndicatorAccuracyColor
Link copied to clipboard
abstract fun setPositionIndicatorAccuracyColor(color: Int): Boolean
Sets the color of the accuracy indicator circle.
setPositionIndicatorAccuracyVisible
Link copied to clipboard
abstract fun setPositionIndicatorAccuracyVisible(visible: Boolean): Boolean
Sets the accuracy indicator circle visibility.
setPositionIndicatorRotation
Link copied to clipboard
abstract fun setPositionIndicatorRotation(type: Int): Boolean
Sets the Indicator type.
setPositionIndicatorType
Link copied to clipboard
abstract fun setPositionIndicatorType(type: Int): Boolean
Sets the Indicator type.
setPositionIndicatorVisible
Link copied to clipboard
abstract fun setPositionIndicatorVisible(visible: Boolean): Boolean
Sets the vehicle visible.
setSkin
Link copied to clipboard
abstract fun setSkin(@NonNull() skinConfiguration: List<String>)
Sets the map skin.
setTrafficSignSettings
Link copied to clipboard
abstract fun setTrafficSignSettings(@NonNull() settings: TrafficSignSettings): Boolean
setWarningsTypeVisibility
Link copied to clipboard
abstract fun setWarningsTypeVisibility(type: Int, enable: Boolean): Boolean
updateMapObject
Link copied to clipboard
open fun updateMapObject(object: MapObject): Boolean

Inheritors

SimpleMapDataModel
Link copied to clipboard