Fix type name for module:ol/extent/Corner~Corner and Relationship

This commit is contained in:
Frederic Junod
2018-03-15 14:39:54 +01:00
parent 7d727d287c
commit f7944d3762
2 changed files with 8 additions and 13 deletions

View File

@@ -165,8 +165,8 @@ export function containsXY(extent, x, y) {
* Get the relationship between a coordinate and extent.
* @param {module:ol/extent~Extent} extent The extent.
* @param {module:ol/coordinate~Coordinate} coordinate The coordinate.
* @return {number} The relationship (bitwise compare with
* module:ol/extent~Extent.Relationship).
* @return {module:ol/extent/Relationship~Relationship} The relationship (bitwise compare with
* module:ol/extent/Relationship~Relationship).
*/
export function coordinateRelationship(extent, coordinate) {
const minX = extent[0];
@@ -478,7 +478,7 @@ export function getCenter(extent) {
/**
* Get a corner coordinate of an extent.
* @param {module:ol/extent~Extent} extent Extent.
* @param {module:ol/extent~Extent.Corner} corner Corner.
* @param {module:ol/extent/Corner~Corner} corner Corner.
* @return {module:ol/coordinate~Coordinate} Corner coordinate.
*/
export function getCorner(extent, corner) {