diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-27 13:43:38 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-10 12:42:14 +0200 |
commit | 2c7f7fb5669088cbd6d6a7471a377f28195adaf6 (patch) | |
tree | 330d9710aecd0162e03fa1430d975bfdcc3e01c3 /src/mbgl/algorithm | |
parent | 4673a9d6b3d8bd90c1e6fe9b2cd4bcd07519c0f2 (diff) | |
download | qtlocation-mapboxgl-2c7f7fb5669088cbd6d6a7471a377f28195adaf6.tar.gz |
[core] createTile callback can load optional and required tiles
Diffstat (limited to 'src/mbgl/algorithm')
-rw-r--r-- | src/mbgl/algorithm/update_renderables.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/algorithm/update_renderables.hpp b/src/mbgl/algorithm/update_renderables.hpp index 22d4205d90..1f58075a58 100644 --- a/src/mbgl/algorithm/update_renderables.hpp +++ b/src/mbgl/algorithm/update_renderables.hpp @@ -33,7 +33,7 @@ void updateRenderables(GetTileDataFn getTileData, const OverscaledTileID idealDataTileID(dataTileZoom, idealRenderTileID.canonical); auto data = getTileData(idealDataTileID); if (!data) { - data = createTileData(idealDataTileID); + data = createTileData(idealDataTileID, true); assert(data); } |