Skip to content

Commit

Permalink
Merge pull request #26 from 96fps/master
Browse files Browse the repository at this point in the history
bugfix, invalid size of terrarium tiles
  • Loading branch information
karimnaaji committed Mar 12, 2018
2 parents dd3db54 + c6cc7f5 commit fd5d35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vectiler.cpp
Expand Up @@ -758,7 +758,7 @@ inline std::string vectorTileURL(const Tile& tile, const std::string& apiKey) {
}

inline std::string terrainURL(const Tile& tile, const std::string& apiKey) {
return "https://tile.nextzen.org/tilezen/terrain/v1/256/terrarium/"
return "https://tile.nextzen.org/tilezen/terrain/v1/260/terrarium/"
+ std::to_string(tile.z) + "/"
+ std::to_string(tile.x) + "/"
+ std::to_string(tile.y) + ".png?api_key=" + apiKey;
Expand Down

0 comments on commit fd5d35c

Please sign in to comment.