Commit 842d780d authored by Jonas Heinrich's avatar Jonas Heinrich

added custom geojson file for museum building

parent 6769ff11
......@@ -107,4 +107,19 @@ map.on('load', function() {
}
}, labelLayerId);
map.addLayer({
'id': 'room-extrusion',
'type': 'fill-extrusion',
'source': {
'type': 'geojson',
'data': 'geojson/museum.geojson'
},
'paint': {
'fill-extrusion-color': ['get', 'color'],
'fill-extrusion-height': ['get', 'height'],
'fill-extrusion-base': ['get', 'base_height'],
'fill-extrusion-opacity': 0.5
}
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment