ExamplesReady to get started?Create a free account to start building with Mapbox.Sign UpAdditional Developer ResourcesMapbox Developer DiscordDeveloper CheatsheetMapbox SupportAsk AIFound 10 resultsReset filtersFiltersSearch Topics All topics3DAtmosphereBrowser supportCameraControls and overlaysExpressionsGeocoderGetting startedInternationalization supportLayersMapbox StandardProjectionsSourcesStylesUser interactionAdd 3D terrain to a mapUse setTerrain to add 3D terrain to a map using a raster terrain source.Add a 3D modelUse a custom style layer with three.js to add a 3D model to the map.Add a 3D model with threeboxUse a custom style layer with threebox.js to add a 3D model to the map.Add an elevated line to a mapAdd a GeoJSON line with elevation data to a map using addSource, then elevate it using addLayer’s layout properties.Add custom fog to a mapCustomize atmospheric styling with setFog.Animate the camera along a pathUse the FreeCamera API to follow a path over 3D terrain.Animate the camera around a point with 3D terrainUse the FreeCamera API to create a fly-over animation focused on a point.Display buildings in 3DUse extrusions to display building heights in 3D.Extrude polygons for 3D indoor mappingCreate a 3D indoor map with the fill-extrusion-height paint property.Query terrain elevationMake client-side terrain elevation queries.Ready to get started?Create a free account to start building with Mapbox.Sign UpAdditional Developer ResourcesMapbox Developer DiscordDeveloper CheatsheetMapbox SupportAsk AIWas this example helpful?YesNo