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:
Scott Hoyt
2025-08-01 04:50:09 -07:00
committed by GitHub
parent 7d46c00529
commit ca5f79c12d
28 changed files with 347 additions and 285 deletions

View File

@@ -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,