diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2018-04-26 07:43:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 07:43:38 -0700 |
commit | 4344812ef5ef3b5b67e9f313e0c3cc87b3e95c46 (patch) | |
tree | 188ce1c5762acc3dc5dd2c19c71251f9fbfc958d /platform | |
parent | c04cf57a74fb17eb33893fb097a9c7e96bf24bcf (diff) | |
download | qtlocation-mapboxgl-4344812ef5ef3b5b67e9f313e0c3cc87b3e95c46.tar.gz |
[core] Streaming TileCover for polygonal regions (#11267)
A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/mbgl/storage/offline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/mbgl/storage/offline.cpp b/platform/default/mbgl/storage/offline.cpp index 7670790be9..598a0b182b 100644 --- a/platform/default/mbgl/storage/offline.cpp +++ b/platform/default/mbgl/storage/offline.cpp @@ -43,7 +43,7 @@ uint64_t OfflineTilePyramidRegionDefinition::tileCount(style::SourceType type, u const Range<uint8_t> clampedZoomRange = coveringZoomRange(type, tileSize, zoomRange); unsigned long result = 0;; for (uint8_t z = clampedZoomRange.min; z <= clampedZoomRange.max; z++) { - result += util::tileCount(bounds, z, tileSize); + result += util::tileCount(bounds, z); } return result; |