Skip to content

Deprecate LocationLayerPlugin #684

Closed

Description

@LukasPaczos

Refs mapbox/mapbox-gl-native#12786.

This ticket tracks deprecation of the LocationLayerPlugin that will happen when the LocationComponent is released in the Maps SDK v6.6.0.

Activity

  1. added
    location-layer-plugin
    on Sep 17, 2018
  2. zugaldia commented on Sep 17, 2018

    @zugaldia
    Member

    /cc: @mapbox/maps-android @lilykaiser @chloekraw

  3. zugaldia commented on Sep 17, 2018

    @zugaldia
    Member

    will happen when the LocationComponent is released in the Maps SDK

    May I suggest we call it LocationManager to match the naming we use on iOS?

  4. zugaldia commented on Sep 19, 2018

    @zugaldia
    Member

    By looking at the iOS docs, it seems the actual name for this type of functionality is MGLUserLocationAnnotationView. If so, UserLocationAnnotation (or simply LocationAnnotation) probably is a better name which improves consistency across platforms but I'm open to other options.

  5. LukasPaczos commented on Sep 20, 2018

    @LukasPaczos
    ContributorAuthor

    Browsing through that doc it looks like in the iOS world the MGLUserLocationAnnotationView is just a view. The camera tracking and location management functionality seem to be embedded into the map. What we are proposing is something that exposes all of those things separately from the map, but since there already is a concept of LocationManager on iOS which has an equivalent in LocationEngine on Android I opted for LocationComponent to indicate that all methods used to display and manipulate the location are enclosed in the component.

    At this point, I'd propose sticking with the name, but that's still up for debate.

  6. zugaldia commented on Oct 29, 2018

    @zugaldia
    Member

    For future reference and for folks looking for functionality similar to the one provided by the Location Layer Plugin: we've integrated this API into our core Maps SDK and this is now available without requiring any additional plugins. Up to date documentation is available here: https://www.mapbox.com/android-docs/maps/overview/location-component/

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

    location-layer-plugin

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions