Replace GeometryLayout enum with typedef
This commit is contained in:
@@ -19,7 +19,7 @@ class MultiPoint extends SimpleGeometry {
|
||||
/**
|
||||
* @param {Array<import("../coordinate.js").Coordinate>|Array<number>} coordinates Coordinates.
|
||||
* For internal use, flat coordinates in combination with `opt_layout` are also accepted.
|
||||
* @param {import("./GeometryLayout.js").default} [opt_layout] Layout.
|
||||
* @param {import("./Geometry.js").GeometryLayout} [opt_layout] Layout.
|
||||
*/
|
||||
constructor(coordinates, opt_layout) {
|
||||
super();
|
||||
@@ -182,7 +182,7 @@ class MultiPoint extends SimpleGeometry {
|
||||
/**
|
||||
* Set the coordinates of the multipoint.
|
||||
* @param {!Array<import("../coordinate.js").Coordinate>} coordinates Coordinates.
|
||||
* @param {import("./GeometryLayout.js").default} [opt_layout] Layout.
|
||||
* @param {import("./Geometry.js").GeometryLayout} [opt_layout] Layout.
|
||||
* @api
|
||||
*/
|
||||
setCoordinates(coordinates, opt_layout) {
|
||||
|
||||
Reference in New Issue
Block a user