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

Merge LocationLayerPlugin to the Maps SDK #12786

Merged
merged 14 commits into from
Sep 12, 2018
Merged

Conversation

LukasPaczos
Copy link
Contributor

@LukasPaczos LukasPaczos commented Aug 31, 2018

This PR brings the LocationLayerPlugin to the Maps SDK, making the plugin in itself deprecated. The development and maintenance of the location features will happen in the Maps SDK project from now on.

TODO:

  • Move location layer example activities
  • Adapt test suite
  • Initialize location layer inside the Maps SDK
  • Cleanup styling options structure Keeping LocationComponentOptions separated from the MapboxMapOptions
  • Update the naming scheme
  • Save plugin's state Opted not to save state to enable greater separation from the Maps SDK. Now, location specific layers and sources are added to the map only when LocationComponent is activated.
  • Ensure compatibility with provided gesture managers
  • Javadoc

@LukasPaczos LukasPaczos added Android Mapbox Maps SDK for Android in progress labels Aug 31, 2018
@LukasPaczos LukasPaczos added this to the android-v6.5.0 milestone Aug 31, 2018
@LukasPaczos LukasPaczos force-pushed the lp-bring-back-llp branch 6 times, most recently from d3ce642 to a599b10 Compare September 5, 2018 09:07
@LukasPaczos LukasPaczos force-pushed the lp-bring-back-llp branch 5 times, most recently from 7c46e52 to d1144d7 Compare September 6, 2018 14:34
final class LocationAnimatorCoordinator {

@SuppressLint("UseSparseArrays")
final Map<Integer, MapboxAnimator> animatorMap = new HashMap<>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As indicated by the lint warning, a SparseArray would provide better performance.

@LukasPaczos LukasPaczos force-pushed the lp-bring-back-llp branch 2 times, most recently from 9791888 to dfb64fb Compare September 10, 2018 10:55
Copy link
Contributor

@danesfeder danesfeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LukasPaczos this looks great - awesome job porting / integrating all of this code 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants