After seeing 3d buildings in mapbox here: https://www.mapbox.com/mapbox-gl-js/example/3d-buildings/ I've decided to create a custom layer with only 3 buildings of my own (custom ones, one of which is in construction in reality), but I'm having problems extruding those buildings in mapbox view. I'm using same code as in example and only building contours shows up on the ground, cant make them look like 3d buildings. Any advices here?
To be more specific: 1. created building with JOSM, 2. exported to geojson file 3. imported to mapbox studio 4. trying to use layer in code, but only building countours appear in map - not an actual 3d shape.
Here's a screenshot from my mapbox studio: http://i.imgur.com/LZbKUvr.jpg - building layer is default one which shows buildings, but building_custom does not. Also, why my building_custom layer has green line near its name instead of blue one, like building layer does?
I've been trying to fix this for 2 days, not sure what I'm doing wrong with mapbox. As a proof that buildings actually exists, check here, where it displays correctly https://osmbuildings.org/?lat=40.71604&lon=-74.0362&zoom=17.8&rotation=-54&tilt=28 (middle building, reverse C shape front).