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

WIP - Style.java #10971

Closed
wants to merge 2 commits into from
Closed

WIP - Style.java #10971

wants to merge 2 commits into from

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jan 19, 2018

Follow up from core PR in #9280, closes #9338 & closes #10947.

This PR introduces the concept of Style as conform to what core exposes as public API in style.hpp. Atm this PR is still a WIP, the following items need to be resolved before reviewing:

  • add Style.java, migrate methods from MapboxMap.java
  • remove old API
  • remove StyleConstants.java and provide integration in Style.java
  • provide native methods directly in Style.java instead of round-tripping NativeMapView.java
  • move Style.java to style package instead of maps (blocked by above)
  • add integration tests
  • add javadoc
  • add feature for getting the name of the style
  • add feature for getting the default camera position of a style
  • fix issues with generated code

cc @mapbox/maps-android

@tobrun tobrun added Android Mapbox Maps SDK for Android ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels Jan 19, 2018
@tobrun tobrun added this to the android-v6.0.0 milestone Jan 19, 2018
@tobrun tobrun self-assigned this Jan 19, 2018
@tobrun tobrun force-pushed the tvn-style-public-api branch 3 times, most recently from 65a5bbe to 0c4a902 Compare January 23, 2018 13:35
@tobrun
Copy link
Member Author

tobrun commented Jan 31, 2018

Hit some bumps while working on the C++ part of this PR, will need some additional eyes.

@tobrun tobrun closed this Mar 1, 2018
@tobrun
Copy link
Member Author

tobrun commented Mar 9, 2018

I closed this PR due to other priorities moving for v6.0.0. Capturing from internal conversations that this might still happen as part of a 6.x release later on (we can deprecate the old methods and reroute them through the new Style.java api).

@tobrun tobrun deleted the tvn-style-public-api branch July 23, 2018 12:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Harden detached sources/layers Style.java
1 participant