maplibre-rs icon indicating copy to clipboard operation
maplibre-rs copied to clipboard

3D Extrusion of Buildings

Open Drabble opened this issue 2 years ago • 5 comments

This is a simple implementation for showcasing 3d possibilities in Maplibre-rs.

We simply take the elements in the buildings layer and extrude them with a fixed height.

In the future, it would be very interesting to add details to the buildings that are extruded and extrude based on the height metadata available in OSM.

Extrusion can be enabled/disabled in the Style configuration.

Finally I probably should split the function in tile_pipelines.rs into smaller functions to make it easier to understand.

Drabble avatar Nov 01 '22 11:11 Drabble