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

StyleJson configuration on MapboxMapOptions #12664

Merged
merged 1 commit into from
Aug 21, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Aug 17, 2018

This PR exposes a styleJson configuration MapboxMapOptions and MapView attributes.
This is usefull for when a user wants to package an their style json in their app.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Aug 17, 2018
@tobrun tobrun added this to the android-v6.5.0 milestone Aug 17, 2018
@tobrun tobrun self-assigned this Aug 17, 2018
@@ -912,7 +935,7 @@ public void writeToParcel(Parcel dest, int flags) {
dest.writeByte((byte) (zoomGesturesEnabled ? 1 : 0));
dest.writeByte((byte) (doubleTapGesturesEnabled ? 1 : 0));

dest.writeString(style);
dest.writeString(styleUrl);
dest.writeString(apiBaseUrl);
Copy link
Contributor

Choose a reason for hiding this comment

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

We are missing writing the styleJson to the parcel.

Copy link
Member Author

Choose a reason for hiding this comment

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

nice catch 😅 fixed in fe04abb

@tobrun tobrun force-pushed the tvn-style-json-mapboxmap-options branch from c3340c1 to fe04abb Compare August 21, 2018 14:25
Copy link
Contributor

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

🚀

@tobrun tobrun merged commit 7ce6af3 into master Aug 21, 2018
@tobrun tobrun deleted the tvn-style-json-mapboxmap-options branch June 25, 2019 11:58
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.

2 participants