Polyline

Deprecated

Polyline is a geometry feature with an unclosed list of coordinates drawn as a line

Deprecated

As of 7.0.0, use Mapbox Annotation Plugin instead

Functions

Link copied to clipboard
open fun addPoint(point: LatLng)
Add a point to the polyline.
Link copied to clipboard
open fun compareTo(@NonNull annotation: Annotation): Int
Compares this Annotation object with another Annotation.
abstract fun compareTo(p: T): Int
Link copied to clipboard
open fun equals(@Nullable object: Any): Boolean
Checks if this Annotation object is equal to another Annotation.
Link copied to clipboard
open fun hashCode(): Int
Gives an integer which can be used as the bucket number for storing elements of the set/map.
Link copied to clipboard
open fun remove()
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapboxMap(mapboxMap: MapboxMap)
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapView(mapView: MapView)
Do not use this method, used internally by the SDK.

Properties

Link copied to clipboard
open var alpha: Float
Link copied to clipboard
open var color: Int
Link copied to clipboard
open var id: Long
The annotation id Internal C++ id is stored as unsigned int.
Link copied to clipboard
@get:NonNull
open var points: List<LatLng>
Link copied to clipboard
open var width: Float