SimpleMapDataModel

open class SimpleMapDataModel : MapView.MapDataModel

Functions

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