GeoJsonPolylineOptions
data class GeoJsonPolylineOptions(var sourceId: String, var properties: Properties, var coordinates: List<GeoPoint>, val isClickable: Boolean = true)
Configures options for a Polyline overlay using GeoJson which can be added and displayed on the map. See the TomTomMap.addPolyline(options: GeoJsonPolylineOptions) to check how to add a new Polyline.
See also
, which describes its properties in a more detailed way.
Constructors
Link copied to clipboard
constructor(sourceId: String, properties: Properties, coordinates: List<GeoPoint>, isClickable: Boolean = true)
Properties
Link copied to clipboard
Coordinates of the line.
Link copied to clipboard
Sets if the polyline is clickable, if this parameter is false then clicks will be propagated to objects that are below polyline.
Link copied to clipboard
Map of GeoJson properties that is added to polyline source representation.