Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Allow setting user location directly #4908

Closed

Description

@mkv123

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

Activity

  1. added
    Android
    on May 1, 2016
  2. LesSvant commented on May 4, 2016

    @LesSvant

    I have the same request for iOS, see #4185 (and Android later if that project switches over to Mapbox as well)

  3. tobrun commented on May 4, 2016

    @tobrun
    Member

    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.

  4. mkv123 commented on May 27, 2016

    @mkv123
    Author

    #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.

  5. tobrun commented on Jun 21, 2016

    @tobrun
    Member

    @mkv123 I'm going to take up your suggestion of closing this in favor of #4331. Thanks again for reaching out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions