-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Support rendering 3d extrusions #684
Comments
dupe of #292 |
I know this issue is closed, but I can't find any doc on how to render extrusions. Has this feature really been added? |
No, this feature hasn't been added yet. |
What is the status of development on the 2.5d line extruding? Is it something that I could help with? |
implementing this: the first part
followup
|
I've roughly recreated last year's demo branch at https://github.com/mapbox/mapbox-gl-js/tree/building-redux (thanks to the codespirit of @ansis 👻 the old branch ported pretty easily). Shaders at https://github.com/mapbox/mapbox-gl-shaders/tree/js-buildings, a spec branch (filled in only by copying fill properties for validation purposes, not definitive spec suggestions) at https://github.com/mapbox/mapbox-gl-style-spec/tree/buildings. I've modified this repo's debug page/style in this branch for the sake of quick iteration, not to be merged. Still lots of TODOs to clean up rough edges in this branch + will open a spec ticket to discuss what this should look like. |
Nice work with the development! I wanted to get a sense of how far along the development progress is - how long do you expect until functionality analogous to http://keks.com/dev/line3/ will be present. |
@jonathanward at this time this feature is still very much in development, and spec changes are still not finalized at mapbox/mapbox-gl-style-spec#456, so I really can't give a timeline — though it is looking like at least initially we don't plan to support extruding non-polygon features. |
quick status update:
|
@iBud Any docs for enabling this feature? Didn't see any in the PR. Demos look great BTW - thanks a lot for putting in the work! |
@contra check out the accompanying style spec PR mapbox/mapbox-gl-style-spec#495 — the
if the specified source layer has a property called "height" in its features. |
Please add building height styling options for building data in Mapbox GL.
Specifically building data in CartoCSS can be rendered in a 3d look using building-fill, building-fill-opacity, and building-height.
Can we add this functionality to Mapbox GL?
The text was updated successfully, but these errors were encountered: