ui-mapbox icon indicating copy to clipboard operation
ui-mapbox copied to clipboard

getUserLocation() doesn't work unless showUserLocation is enabled

Open butaminas opened this issue 4 years ago • 0 comments
trafficstars

The only way to get user location is to enable showUserLocation.

In my case, I would like to show a marker instead so that if you change address in the app, the marker would be showed in a different location on the map. If you enable showUserLocation, user icon is always visible and adding a marker there makes confusion.

Any way to get user location without using the showUserLocation option?

butaminas avatar Apr 20 '21 13:04 butaminas