MapStyle

A Map Style lets you to configure how vector maps have to be rendered in a MapView.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun createPOIStyle(classID: Long, style: POIStyle): Error?

Create a POI style

Link copied to clipboard
fun createPolygonStyle(classID: Long, style: ClosedStyle): Error?

Create a Polygon style

Link copied to clipboard
fun createPolylineStyle(classID: Long, style: PolylineStyle): Error?

Create a Polyline style

Link copied to clipboard
fun deleteStyle(classID: Long)

Delete a PoiStyle, PolylineStyle or PolygonStyle by providing it's classId

Link copied to clipboard
open override fun dispose()

Call this method if you want to dispose immediately all underlying native resources.

Link copied to clipboard

Get the visibility status of all forms belonging to the specified class ID.

Link copied to clipboard

Changes the size of all fonts by a given scale with respect to original font sizes.

Link copied to clipboard
fun setClassVisibility(classID: Long, visible: Boolean): Boolean

Show or hide all forms belonging to the specified class ID (without deleting anything).

Link copied to clipboard
fun showTraffic(showFlow: Boolean, showPOI: Boolean)

Set the traffic visibility.