Android mapbogl now loads maps!

(had to change JSON loading to http - temp fix)
This commit is contained in:
Leith Bade
2014-11-08 08:07:47 +11:00
parent 6c5331ee73
commit 01ead83b39

View File

@@ -12,7 +12,8 @@ std::string normalizeURL(const std::string& url, const std::string& accessToken)
if (accessToken.empty())
throw std::runtime_error("You must provide a Mapbox API access token for Mapbox tile sources");
return std::string("https://api.tiles.mapbox.com/v4/")
// FIXME for test only change back to https after
return std::string("http://api.tiles.mapbox.com/v4/")
+ url.substr(mapbox.length())
+ "?access_token="
+ accessToken;