summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-06-26 12:03:47 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-07-08 13:16:38 -0700
commit815f8be96e8048f4c64ca0280e43339f17dd064d (patch)
tree230fe6b70595a1c358c89c589f380124d5866566 /linux
parent4c75c696b3162c72e7dec21ce0b3f69cae9d1034 (diff)
downloadqtlocation-mapboxgl-815f8be96e8048f4c64ca0280e43339f17dd064d.tar.gz
Use API v4 and access tokens
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 25898fab24..00732dfcb0 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -8,6 +8,7 @@
#include "../common/settings_json.hpp"
#include "../common/glfw_view.hpp"
+#include "../access_token.hpp"
GLFWView *view = nullptr;
@@ -51,6 +52,8 @@ int main(int argc, char *argv[]) {
std::stringstream stylejson;
stylejson << stylefile.rdbuf();
+ llmr::setMapboxAccessToken(mapbox_access_token);
+
view = new GLFWView();
llmr::Map map(*view);