Android mapbogl now loads maps!
(had to change JSON loading to http - temp fix)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user