wrld.js

L.Wrld.buildings.BuildingContour

Represents a building or part of 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() L.LatLng[] Returns the vertices of the building outline polygon, ordered clockwise from above.
v0.1.1396