summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-10-31 17:21:30 -0400
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-11-04 12:26:14 -0800
commit05c5c3a8bc38ddc7c6819f986132d0883a136ea7 (patch)
tree4af2e4fa4bde6acf89dc4d7e6989ed92b0e00ae9
parentc151f12997d2560353cf7692d033fb123440a8b0 (diff)
downloadqtlocation-mapboxgl-05c5c3a8bc38ddc7c6819f986132d0883a136ea7.tar.gz
Use v6 styles
-rw-r--r--linux/main.cpp2
-rw-r--r--macosx/main.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index b28ad84d14..c49957349e 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
// Load style
if (style.empty())
- style = std::string("file://") + uv::cwd() + std::string("/../../styles/styles/bright-v5.json");
+ style = std::string("file://") + uv::cwd() + std::string("/../../styles/styles/bright-v6.json");
map.setStyleURL(style);
diff --git a/macosx/main.mm b/macosx/main.mm
index 5c6f3592a9..9a6e527578 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -100,7 +100,7 @@ int main() {
if (accessToken) map.setAccessToken([accessToken cStringUsingEncoding:[NSString defaultCStringEncoding]]);
// Load style
- const std::string path([[[NSBundle mainBundle] pathForResource:@"bright-v5" ofType:@"json" inDirectory:@"styles/"] UTF8String]);
+ const std::string path([[[NSBundle mainBundle] pathForResource:@"bright-v6" ofType:@"json" inDirectory:@"styles/"] UTF8String]);
map.setStyleURL(std::string("file://") + path);