LocationDecoder

interface LocationDecoder

Location decoder matches location reference (e.g. OpenLr string, point, polyline) to a map and returns corresponding map references

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun match(point: GeoPoint): MapReferences?

Matches point location reference on the underlying map.

abstract fun match(openlrLocation: String): MapReferences?

Matches OpenLR location reference on the underlying map.

abstract fun match(polyline: List<GeoPoint>): MapReferences?

Matches polyline location reference on the underlying map.