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 of custom Location Engine #8668

Closed

Description

@cammace

Currently, it doesn't appear to be a way to use a custom location engine rather then the Lost location provider.

cc: @mapbox/android

Activity

  1. added
    Android
    on Apr 6, 2017
  2. added this to the android-v5.1.0 milestone on Apr 6, 2017
  3. Etienne-io commented on Apr 11, 2017

    @Etienne-io

    Is this issue mean that it will be possible to use MyLocationView without activate the LocationEngine ?

  4. zugaldia commented on Apr 11, 2017

    @zugaldia
    Member

    @emerciercontexeo It means that you can provide your own LocationEngine implementation, which can use another location provider, or do nothing at all, depending on your app needs.

    You can see two examples in this test app. GoogleLocationEngine.java uses Google Play Services, while MockLocationEngine.java simply mocks locations and doesn't do any real location tracking.

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

Metadata

Metadata

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions