We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getElevationBase
MVTLayer
mapbox-gl provide fill-extrusion-base and fill-extrusion-height to draw extruded polygon (like buildings).
mapbox-gl
The MVTLayer does not have getElevationBase accessor like mapbox-gl's fill-extrusion-base. I know that deck.gl support 3D polygons, but Mapbox Vector Tile spec does not support altitude yet.
fill-extrusion-base
deck.gl
const mvtLayer = new MVTLayer({ extruded: true, getElevation: f => f.properties?.["fill-extrusion-height"] || 0, getElevationBase: f => f.properties?.["fill-extrusion-base"] || 0, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Target Use Case
mapbox-gl
provide fill-extrusion-base and fill-extrusion-height to draw extruded polygon (like buildings).The
MVTLayer
does not havegetElevationBase
accessor likemapbox-gl
'sfill-extrusion-base
. I know thatdeck.gl
support 3D polygons, but Mapbox Vector Tile spec does not support altitude yet.Proposal
The text was updated successfully, but these errors were encountered: