Represents a building or part of a building as a polygon with minimum and maximum altitudes. This can be used to construct an extruded polygon (prism) to visually represent the building. Complex buildings may be made up of multiple BuildingContours.


Method Returns Description
getBottomAltitude() number Returns the minimum altitude above sea level.
getTopAltitude() number Returns the maximum altitude above sea level.
getPoints() L.LatLng[] Returns the vertices of the building outline polygon, ordered clockwise from above.
Props L.Wrld.Prop
Themes L.Wrld.themes
UI Layers L.Marker L.Popup
Heatmaps L.Wrld.Heatmap
Events Event objects
Services (Optional) WrldPoiApi