[core] only render tiles that have data

This commit is contained in:
Konstantin Käfer
2016-03-15 18:04:39 +01:00
parent 09684bb1dc
commit ea32ee742f
6 changed files with 17 additions and 2 deletions

View File

@@ -180,4 +180,8 @@ void VectorTileData::cancel() {
workRequest.reset();
}
bool VectorTileData::hasData() const {
return !buckets.empty();
}
} // namespace mbgl