diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-04-29 22:33:41 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2020-05-26 20:35:03 +0300 |
commit | e45dcfe6705c61201077ea66c74d065a5b961a16 (patch) | |
tree | 52dc65c2e9fba258a9a4d8dab731c585476ab397 /src/mbgl/style/sources/custom_geometry_source_impl.cpp | |
parent | 57972231e864cf4af18f12664dbb4a838e9e99db (diff) | |
download | qtlocation-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.cpp | 3 |
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; } |