summaryrefslogtreecommitdiff
path: root/src/mbgl/map/source.cpp
diff options
context:
space:
mode:
authorYoung Hahn <young@mapbox.com>2016-02-02 04:29:27 -0500
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-11 11:28:35 -0800
commit43c44eccdc56c50e41e8efbe5f7a34b57eed756f (patch)
tree65d39c01c1e3281a8d292049029fffa75e912cbc /src/mbgl/map/source.cpp
parent7ca602b7394160a472f143a13f9ee2b725098e51 (diff)
downloadqtlocation-mapboxgl-43c44eccdc56c50e41e8efbe5f7a34b57eed756f.tar.gz
Allow using tileSize: 512 as a switch to trade retina support for 512px raster tiles
Diffstat (limited to 'src/mbgl/map/source.cpp')
-rw-r--r--src/mbgl/map/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/source.cpp b/src/mbgl/map/source.cpp
index 1a7933f53e..96af8c3cba 100644
--- a/src/mbgl/map/source.cpp
+++ b/src/mbgl/map/source.cpp
@@ -104,7 +104,7 @@ void Source::load() {
// from the stylesheet. Then merge in the values parsed from the TileJSON we retrieved
// via the URL.
try {
- newInfo = StyleParser::parseTileJSON(*res.data, url, type);
+ newInfo = StyleParser::parseTileJSON(*res.data, url, type, tileSize);
} catch (...) {
observer->onSourceError(*this, std::current_exception());
return;