abstract hardcoded URLs for now

This commit is contained in:
Justin R. Miller
2014-02-04 11:46:06 -05:00
parent 3b7f06ccbf
commit 2b2ff9fb3f
3 changed files with 5 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ void Tile::request() {
state = Tile::loading;
// Create http request
std::string url = util::sprintf("http://localhost:3333/gl/tiles/plain/%d-%d-%d.vector.pbf",
std::string url = util::sprintf(kTileURL,
id.z, id.x, id.y);
// Note: Somehow this feels slower than the change to request_http()