Module types for ol/geom
This commit is contained in:
@@ -14,9 +14,9 @@ import {squaredDistance as squaredDx} from '../math.js';
|
||||
* Point geometry.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.geom.SimpleGeometry}
|
||||
* @extends {module:ol/geom/SimpleGeometry~SimpleGeometry}
|
||||
* @param {module:ol/coordinate~Coordinate} coordinates Coordinates.
|
||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||
* @param {module:ol/geom/GeometryLayout~GeometryLayout=} opt_layout Layout.
|
||||
* @api
|
||||
*/
|
||||
const Point = function(coordinates, opt_layout) {
|
||||
@@ -29,7 +29,7 @@ inherits(Point, SimpleGeometry);
|
||||
|
||||
/**
|
||||
* Make a complete copy of the geometry.
|
||||
* @return {!ol.geom.Point} Clone.
|
||||
* @return {!module:ol/geom/Point~Point} Clone.
|
||||
* @override
|
||||
* @api
|
||||
*/
|
||||
@@ -116,7 +116,7 @@ Point.prototype.setCoordinates = function(coordinates, opt_layout) {
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.geom.GeometryLayout} layout Layout.
|
||||
* @param {module:ol/geom/GeometryLayout~GeometryLayout} layout Layout.
|
||||
* @param {Array.<number>} flatCoordinates Flat coordinates.
|
||||
*/
|
||||
Point.prototype.setFlatCoordinates = function(layout, flatCoordinates) {
|
||||
|
||||
Reference in New Issue
Block a user