Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Loading local style source file #426

Merged
merged 10 commits into from
Aug 3, 2017
Merged

Conversation

langsmith
Copy link
Contributor

Fixes #165

This example sets the map style by loading a local map style JSON file.

Ignore the weird colors in the gif. The recording + ezgif made it wonky this time for some reason
ezgif com-resize

@langsmith langsmith requested a review from cammace July 31, 2017 21:24
@cammace
Copy link
Contributor

cammace commented Aug 1, 2017

This example is very similar to the raster style example, also uses mapView to load in the style which, as I understand, is better since it prevents loading in the default style first. Could we somehow combine these two examples?

@langsmith
Copy link
Contributor Author

Ok @cammace . I've completely removed the custom raster activity and combined it with the local style activity. The example now has toggle buttons 👇

ezgif com-resize 1

android:name="android.support.PARENT_ACTIVITY"
android:value="com.mapbox.mapboxandroiddemo.MainActivity"/>
</activity>
<activity
Copy link
Contributor

Choose a reason for hiding this comment

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

Look like rebasing caused issues here, location activities have been removed.

@langsmith langsmith merged commit ca3c0c8 into master Aug 3, 2017
@langsmith langsmith deleted the ls-local-style-source-file branch August 3, 2017 21:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants