summaryrefslogtreecommitdiff
path: root/macosx
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-10-31 14:46:51 -0400
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-10-31 17:14:30 -0400
commitd675828fe14d55c1a0de30f951d2005ae5d8cf84 (patch)
treef61abe370999771bf976aa409d294e34368eca38 /macosx
parent16bd75c6ccc0340295d65e04728239a7eea693dd (diff)
downloadqtlocation-mapboxgl-d675828fe14d55c1a0de30f951d2005ae5d8cf84.tar.gz
Get mapbox-gl-styles via submodule (fixes #511)
Diffstat (limited to 'macosx')
-rw-r--r--macosx/main.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index 81494821cf..5c6f3592a9 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:@"style" ofType:@"json" inDirectory:@"styles/bright"] UTF8String]);
+ const std::string path([[[NSBundle mainBundle] pathForResource:@"bright-v5" ofType:@"json" inDirectory:@"styles/"] UTF8String]);
map.setStyleURL(std::string("file://") + path);