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/image_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/image_source_impl.cpp')
-rw-r--r-- | src/mbgl/style/sources/image_source_impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/sources/image_source_impl.cpp b/src/mbgl/style/sources/image_source_impl.cpp index 41255b3bb0..6b16f96d55 100644 --- a/src/mbgl/style/sources/image_source_impl.cpp +++ b/src/mbgl/style/sources/image_source_impl.cpp @@ -27,7 +27,8 @@ optional<std::string> ImageSource::Impl::getAttribution() const { } const SourceTypeInfo* ImageSource::Impl::staticTypeInfo() noexcept { - const static SourceTypeInfo typeInfo{"image", true, nullopt}; + const static SourceTypeInfo typeInfo{ + "image", SourceTypeInfo::TilePrefetch::No, SourceTypeInfo::TileSet::No, nullopt}; return &typeInfo; } |