unifiy constants in one place, and allow local override

This commit is contained in:
Konstantin Käfer
2014-06-04 11:22:03 +02:00
parent 580527a16c
commit af69b4fe39
8 changed files with 16 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ void Map::setup() {
sources.emplace("outdoors",
std::unique_ptr<Source>(new Source(*this,
painter,
"http://a.tiles.mapbox.com/v3/mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5/%d/%d/%d.vector.pbf",
kVectorTileURL,
Source::Type::vector,
{{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }},
512,