sdk / com.mapbox.search.location / LocationProvider / getLocation

getLocation

abstract fun getLocation(): Point?

Get user coordinates. Should be called on the main thread.

Return
current coordinates as geoJSON Point.