PointListValue

data class PointListValue(val value: Value)

Defines a primitive that can accommodate a list of com.mapbox.geojson.Points.

Parameters

value

a value representing an array of coordinates. See Array

Constructors

Link copied to clipboard
fun PointListValue(vararg point: Point)

Create a PointListValue that contains a list of Points.

Link copied to clipboard
fun PointListValue(vararg point: Pair<Double, Double>)

Create a PointListValue that contains a list of longitude, latitude pairs .

Link copied to clipboard

Create a PointListValue that contains a list of pairs of longitude, latitude as list.

Link copied to clipboard
fun PointListValue(expression: Expression)

Construct the primitive with Mapbox Expression.

Link copied to clipboard
fun PointListValue(value: Value)

Types

Link copied to clipboard
object Companion

PointListValue's companion object.

Properties

Link copied to clipboard
val pointsOrNull: List<Point>?

The list of Point represented by value or null if the stored Value is not a a list of Point.

Link copied to clipboard