From 8d7d770bbc63788b85cbfcb3ab09ad824c79645a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 13 Aug 2015 10:07:11 -0700 Subject: [PATCH] Update styles --- ios/benchmark/MBXBenchViewController.mm | 2 +- ios/benchmark/fo/MBXBenchViewController.mm | 2 +- platform/default/default_styles.cpp | 10 +++++----- scripts/ios/package.sh | 2 +- styles | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ios/benchmark/MBXBenchViewController.mm b/ios/benchmark/MBXBenchViewController.mm index 86b4ec9cb..0305ab853 100644 --- a/ios/benchmark/MBXBenchViewController.mm +++ b/ios/benchmark/MBXBenchViewController.mm @@ -32,7 +32,7 @@ { [super viewDidLoad]; - NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/mapbox-streets-v7.json"]; + NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/streets-v8.json"]; self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds styleURL:url]; self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; self.mapView.delegate = self; diff --git a/ios/benchmark/fo/MBXBenchViewController.mm b/ios/benchmark/fo/MBXBenchViewController.mm index f1079d9e0..b4eb4ec3f 100644 --- a/ios/benchmark/fo/MBXBenchViewController.mm +++ b/ios/benchmark/fo/MBXBenchViewController.mm @@ -21,7 +21,7 @@ { [super viewDidLoad]; - NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/mapbox-streets-v7.json"]; + NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/streets-v8.json"]; self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds accessToken:nil styleURL:url]; self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; self.mapView.delegate = self; diff --git a/platform/default/default_styles.cpp b/platform/default/default_styles.cpp index e25d96e4c..9ee541497 100644 --- a/platform/default/default_styles.cpp +++ b/platform/default/default_styles.cpp @@ -4,11 +4,11 @@ namespace mbgl { namespace util { const std::vector> defaultStyles = { - { "asset://styles/mapbox-streets-v7.json", "Mapbox Streets" }, - { "asset://styles/emerald-v7.json", "Emerald" }, - { "asset://styles/light-v7.json", "Light" }, - { "asset://styles/dark-v7.json", "Dark" }, - { "asset://styles/satellite-v7.json", "Satellite" } + { "asset://styles/streets-v8.json", "Mapbox Streets" }, + { "asset://styles/emerald-v8.json", "Emerald" }, + { "asset://styles/light-v8.json", "Light" }, + { "asset://styles/dark-v8.json", "Dark" }, + { "asset://styles/satellite-v8.json", "Satellite" } }; } // end namespace util diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh index 449cf5c25..65bf98cfe 100755 --- a/scripts/ios/package.sh +++ b/scripts/ios/package.sh @@ -102,7 +102,7 @@ cp -pv LICENSE.md "${OUTPUT}/static" mkdir -p "${OUTPUT}/static/${NAME}.bundle" cp -pv platform/ios/resources/* "${OUTPUT}/static/${NAME}.bundle" mkdir -p "${OUTPUT}/static/${NAME}.bundle/styles" -cp -pv styles/styles/{dark,emerald,light,mapbox-streets,satellite}-v7.json "${OUTPUT}/static/${NAME}.bundle/styles" +cp -pv styles/styles/{dark,emerald,light,streets,satellite}-v8.json "${OUTPUT}/static/${NAME}.bundle/styles" step "Creating API Docs..." if [ -z `which appledoc` ]; then diff --git a/styles b/styles index 44bdcec81..bdac555dc 160000 --- a/styles +++ b/styles @@ -1 +1 @@ -Subproject commit 44bdcec816407ba16765a556135915652e5e5b22 +Subproject commit bdac555dcbd7d58338a141391440359605101964