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

getLocation

@UiThread fun getLocation(): Point?

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

Return
current coordinates as geoJSON Point.