SnapLocation

@Serializable
data class SnapLocation(val location: List<Double>, val name: String? = null, val snappedDistance: Double)

One snapped input coordinate.

Constructors

Link copied to clipboard
constructor(location: List<Double>, name: String? = null, snappedDistance: Double)

Properties

Link copied to clipboard

lon, lat of the snapped position

Link copied to clipboard
val name: String? = null

Optional street name if available

Link copied to clipboard
@SerialName(value = "snapped_distance")
val snappedDistance: Double

Distance in meters from the input to the snapped position