GeographicMesh

constructor(positions: Array<Array<Position>>, attributes: ShapeAttributes = ShapeAttributes())

Parameters

positions

A two-dimensional array containing the mesh vertices. Each entry of the array specifies the vertices of one row of the mesh. The arrays for all rows must have the same length. There must be at least two rows, and each row must have at least two vertices. There must be no more than 65536 positions.

attributes

The attributes to associate with this mesh. May be null, in which case default attributes are associated.