ContourLine Class

Bing
 

The ContourLine class extends from the Polygon class and supports all the same methods and events, but has a different constructor. The constructor takes in an array of locations that specify the outline boundary of the contour line. Optionally a value can be associated with the contour line which is passed to the colorCallback and used to colorize the contour.

ContourLine(boundary: Location[], contourValue?: number | string)

NameTypeDescription
contourValuenumber or stringA value that is passed to the colorCallback and used to colorize the contour.
Show: