Wrld.buildings.BuildingContour

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.

Methods

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