diff options
author | Young Hahn <young@mapbox.com> | 2016-02-02 04:29:27 -0500 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-11 11:28:35 -0800 |
commit | 43c44eccdc56c50e41e8efbe5f7a34b57eed756f (patch) | |
tree | 65d39c01c1e3281a8d292049029fffa75e912cbc /test/style | |
parent | 7ca602b7394160a472f143a13f9ee2b725098e51 (diff) | |
download | qtlocation-mapboxgl-43c44eccdc56c50e41e8efbe5f7a34b57eed756f.tar.gz |
Allow using tileSize: 512 as a switch to trade retina support for 512px raster tiles
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/style_parser.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/style/style_parser.cpp b/test/style/style_parser.cpp index 8a9c4b3c4f..64ee4af9fc 100644 --- a/test/style/style_parser.cpp +++ b/test/style/style_parser.cpp @@ -90,7 +90,8 @@ TEST(StyleParser, ParseTileJSONRaster) { auto result = StyleParser::parseTileJSON( util::read_file("test/fixtures/style_parser/tilejson.raster.json"), "mapbox://mapbox.satellite", - SourceType::Raster); + SourceType::Raster, + 256); EXPECT_EQ(0, result->minZoom); EXPECT_EQ(15, result->maxZoom); @@ -106,7 +107,8 @@ TEST(StyleParser, ParseTileJSONVector) { auto result = StyleParser::parseTileJSON( util::read_file("test/fixtures/style_parser/tilejson.vector.json"), "mapbox://mapbox.streets", - SourceType::Vector); + SourceType::Vector, + 256); EXPECT_EQ(0, result->minZoom); EXPECT_EQ(15, result->maxZoom); |