Skip to content
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

Agregar edificios en 3D #2

Open
Zalitoar opened this issue Jun 27, 2019 · 0 comments
Open

Agregar edificios en 3D #2

Zalitoar opened this issue Jun 27, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Zalitoar
Copy link
Member

Se pueden renderizar con la sig. definición de capa en el estilo. También habría que filtrar el estilo de edificio por defecto cuando estos tienen un valor en el atributo de altura.

{ "id": "building-3d-extrusion", "type": "fill-extrusion", "metadata": {}, "source": "openmaptiles", "source-layer": "building", "minzoom": 13, "maxzoom": 24, "layout": { "visibility": "visible" }, "paint": { "fill-extrusion-base": {"type": "identity", "property": "render_min_height"}, "fill-extrusion-height": { "type": "identity", "property": "render_height" }, "fill-extrusion-opacity": 0.7, "fill-extrusion-color": "rgba(190, 190, 190, 1)", "fill-extrusion-translate-anchor": "map" } }

Ejemplo
imagen

@Zalitoar Zalitoar added the enhancement New feature or request label Jun 27, 2019
@Zalitoar Zalitoar self-assigned this Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant