Fix for raster dem encoding override in style.json (#3570)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -8,11 +8,11 @@ namespace mbgl {
|
||||
|
||||
using namespace style;
|
||||
|
||||
RenderVectorSource::RenderVectorSource(Immutable<style::VectorSource::Impl> impl_, const TaggedScheduler& threadPool_)
|
||||
RenderVectorSource::RenderVectorSource(Immutable<style::TileSource::Impl> impl_, const TaggedScheduler& threadPool_)
|
||||
: RenderTileSetSource(std::move(impl_), threadPool_) {}
|
||||
|
||||
const std::optional<Tileset>& RenderVectorSource::getTileset() const {
|
||||
return static_cast<const style::VectorSource::Impl&>(*baseImpl).tileset;
|
||||
return static_cast<const style::TileSource::Impl&>(*baseImpl).tileset;
|
||||
}
|
||||
|
||||
void RenderVectorSource::updateInternal(const Tileset& tileset,
|
||||
|
||||
Reference in New Issue
Block a user