3D Buildings on Map

Hey everybody,

if someone is interessted in displaying 3D Buildings on your map:

go to your mapsettings.json

delete the lines: 496 - 549 and paste:

 {
      "id": "building",
      "type": "fill-extrusion",
      "metadata": {
        "mapbox:group": "1444849364238.8171"
      },
      "source": "vector_tiles",
      "source-layer": "building",
      "paint": {
          "fill-extrusion-color": "#aaa",
        
          "fill-extrusion-height": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          0,
          15.05,
          ["get", "render_height"]
          ],
          "fill-extrusion-base": [
          "interpolate",
          ["linear"],
          ["zoom"],
          15,
          0,
          15.05,
          ["get", "render_min_height"]
          ],
          "fill-extrusion-opacity": 0.6
          }
          },

3 Likes

Awesome, thanks Denis!

1 Like

AWS Ambit Scenario Designer for Unreal Engine 4 uses OpenStreetMaps data. Announced on last week re:invent can simplify creation of 3D content.

1 Like

Boooom! Nice 1!!!11

map is not working after connect through domain
help pls !!

Hi @apurba,
Could you please open a new topic and provide some more informations?

  • local, vm, server? (Environment)
  • how do you start the docker? (Specially if you run it externally)
  • show your mapsettings.json and docker-compose.yml

I guess you run it externally and your starting page after login is completely blank?

Hi@Denis
Thanks for replying , it is working now .

one more thing where asset details are stored ?? Actauly want to host in another machine

@Denis

its not rendering properly