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

getLocation

@UiThread fun getLocation(): Point?

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

Return
currently set coordinate as geoJSON Point.