new MultiPoint(coordinates, opt_layout)
geom/MultiPoint.js, line 19
Name | Type | Description |
---|---|---|
coordinates |
Array.<module:ol/coordinate~Coordinate> | Array.<number> |
Coordinates.
For internal use, flat coordinates in combination with |
layout |
module:ol/geom/GeometryLayout |
Layout. |
Methods
-
appendPoint(point)
geom/MultiPoint.js, line 40 -
Append the passed point to this multipoint.
Name Type Description point
module:ol/geom/Point~Point Point.
-
Make a complete copy of the geometry.
Returns:
Clone.
-
Return the coordinates of the multipoint.
Returns:
Coordinates.
-
Return the point at the specified index.
Name Type Description index
number Index.
Returns:
Point.
-
Return the points of this multipoint.
Returns:
Points.
-
getType()
geom/MultiPoint.js, line 131 -
-
intersectsExtent()
geom/MultiPoint.js, line 139 -
-
setCoordinates(coordinates, opt_layout)
geom/MultiPoint.js, line 159 -
Set the coordinates of the multipoint.
Name Type Description coordinates
Array.<module:ol/coordinate~Coordinate> Coordinates.
layout
module:ol/geom/GeometryLayout Layout.