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.

MGLMapView's location manager should be configurable. #11983

Closed

Description

@fabian-guerra

MGLMapView's uses its private locationManager property and implements Apple's CLLocationManagerDelegate as the default location/course tracking provider; practically coupling our map view to Apple.

Exposing this property, and changing the dependencies for a custom MGLLocationManager and MGLLocationManagerDelegate respectively; will enable use cases where iBeacons or WIFI location technology provides the location/course tracking, or where finer tracking is required, or navigation simulation.

This will also simplify route simulation for our Nav SDK according to mapbox/mapbox-navigation-ios#1443 (comment).

/cc @lilykaiser @mapbox/maps-ios

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

Metadata

Metadata

Assignees

Labels

featureiOSrefactor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions