summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/custom_geometry_source_impl.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-04-29 22:33:41 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2020-05-26 20:35:03 +0300
commite45dcfe6705c61201077ea66c74d065a5b961a16 (patch)
tree52dc65c2e9fba258a9a4d8dab731c585476ab397 /src/mbgl/style/sources/custom_geometry_source_impl.cpp
parent57972231e864cf4af18f12664dbb4a838e9e99db (diff)
downloadqtlocation-mapboxgl-e45dcfe6705c61201077ea66c74d065a5b961a16.tar.gz
[core] Introduce `SourceTypeInfo::TileSet`
A flag, which specifies whether the source operates with the loaded tile set.
Diffstat (limited to 'src/mbgl/style/sources/custom_geometry_source_impl.cpp')
-rw-r--r--src/mbgl/style/sources/custom_geometry_source_impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/sources/custom_geometry_source_impl.cpp b/src/mbgl/style/sources/custom_geometry_source_impl.cpp
index 59f25a3d2d..913d1873ff 100644
--- a/src/mbgl/style/sources/custom_geometry_source_impl.cpp
+++ b/src/mbgl/style/sources/custom_geometry_source_impl.cpp
@@ -34,7 +34,8 @@ optional<ActorRef<CustomTileLoader>> CustomGeometrySource::Impl::getTileLoader()
}
const SourceTypeInfo* CustomGeometrySource::Impl::staticTypeInfo() noexcept {
- const static SourceTypeInfo typeInfo{"customvector", true, nullopt};
+ const static SourceTypeInfo typeInfo{
+ "customvector", SourceTypeInfo::TilePrefetch::Yes, SourceTypeInfo::TileSet::No, nullopt};
return &typeInfo;
}