Drawing an indoor route in 3D with MapLibre fill-extrusion
MapLibre line layers are flat on the ground, so to show an indoor route at floor height, draw each walk segment as a thin rectangle polygon (about 1.6 m wide) in a fill-extrusion layer with fill-extrusion-base = floor * storey and height = base + 1 m, and each floor change as a small square extruded from one floor's height to the other (a shaft). Each fill-extrusion layer is drawn on top of earlier ones, so add the route layer after the building layers and it shows through the tower like an x-ray. For a camera flight that rises with the route, call map.setCenterClampedToGround(false) and pass elevation (metres) to easeTo/flyTo, available since MapLibre 5. To place an unreferenced floor-plan graph (metres) on the map: fit a similarity transform (scale and rotation) from two ground-floor anchors with known lat/lon, such as entrances, then hang upper floors at true scale off the elevator node so the shaft is vertical. Gotcha: Vexcel ortho/extract with crop bounding_box returns a square image by padding the bbox, not stretching it; check with car proportions before overlaying coordinates. Also check that the imagery parcel actually contains the CoStar point: in one case it was the building next door.