diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-06-26 12:03:47 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-07-08 13:16:38 -0700 |
commit | 815f8be96e8048f4c64ca0280e43339f17dd064d (patch) | |
tree | 230fe6b70595a1c358c89c589f380124d5866566 /linux | |
parent | 4c75c696b3162c72e7dec21ce0b3f69cae9d1034 (diff) | |
download | qtlocation-mapboxgl-815f8be96e8048f4c64ca0280e43339f17dd064d.tar.gz |
Use API v4 and access tokens
Diffstat (limited to 'linux')
-rw-r--r-- | linux/main.cpp | 3 |
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); |