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
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.
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.
Activity
zugaldia commentedon Sep 17, 2018
/cc: @mapbox/maps-android @lilykaiser @chloekraw
zugaldia commentedon Sep 17, 2018
May I suggest we call it
LocationManagerto match the naming we use on iOS?zugaldia commentedon Sep 19, 2018
By looking at the iOS docs, it seems the actual name for this type of functionality is
MGLUserLocationAnnotationView. If so,UserLocationAnnotation(or simplyLocationAnnotation) probably is a better name which improves consistency across platforms but I'm open to other options.LukasPaczos commentedon Sep 20, 2018
Browsing through that doc it looks like in the iOS world the
MGLUserLocationAnnotationViewis 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 ofLocationManageron iOS which has an equivalent inLocationEngineon Android I opted forLocationComponentto 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.
zugaldia commentedon Oct 29, 2018
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/