You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Currently there is no way to set location of the user's position directly without GPS. This is useful for cases where there is an alternative location provider or finer grained control over updates are wanted (#3515, #3629). For most developers this would also make getting nice screenshots from interesting locations easier.
Something we have been talking about is allowing developers to provide their own Location provider. We currently use Mapzen LOST in the background but developers should be able to provide their own implementation.
This feature is related to #4331 since that will result in exposing a mapboxMap.setLocationSource(LocationSource source) API. This should provide you with the flexibilty required for your use-case.
For most developers this would also make getting nice screenshots from interesting locations easier.
A workaround for now is to use a location mocking app. We use this internally to simulate driving.
#4331 would be great. I'm fine with closing this one in favor of that approach. It would make the decoupling of the location provider from the map view nice and clean.
Currently there is no way to set location of the user's position directly without GPS. This is useful for cases where there is an alternative location provider or finer grained control over updates are wanted (#3515, #3629). For most developers this would also make getting nice screenshots from interesting locations easier.
May be related to #4700
The text was updated successfully, but these errors were encountered: