Use API v4 and access tokens

This commit is contained in:
John Firebaugh
2014-06-26 12:03:47 -07:00
parent 4c75c696b3
commit 815f8be96e
7 changed files with 26 additions and 1 deletions

View File

@@ -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);