Shorter module paths for default exports

This commit is contained in:
Frederic Junod
2018-05-09 10:45:35 +02:00
parent bae2ac4f0f
commit af1f6836af
50 changed files with 99 additions and 101 deletions

View File

@@ -22,7 +22,7 @@ import {douglasPeuckerArray} from '../geom/flat/simplify.js';
* @constructor
* @extends {module:ol/geom/SimpleGeometry}
* @param {Array.<Array.<module:ol/coordinate~Coordinate>>} coordinates Coordinates.
* @param {module:ol/geom/GeometryLayout~GeometryLayout=} opt_layout Layout.
* @param {module:ol/geom/GeometryLayout=} opt_layout Layout.
* @api
*/
const MultiLineString = function(coordinates, opt_layout) {
@@ -255,7 +255,7 @@ MultiLineString.prototype.intersectsExtent = function(extent) {
/**
* Set the coordinates of the multilinestring.
* @param {Array.<Array.<module:ol/coordinate~Coordinate>>} coordinates Coordinates.
* @param {module:ol/geom/GeometryLayout~GeometryLayout=} opt_layout Layout.
* @param {module:ol/geom/GeometryLayout=} opt_layout Layout.
* @override
* @api
*/
@@ -276,7 +276,7 @@ MultiLineString.prototype.setCoordinates = function(coordinates, opt_layout) {
/**
* @param {module:ol/geom/GeometryLayout~GeometryLayout} layout Layout.
* @param {module:ol/geom/GeometryLayout} layout Layout.
* @param {Array.<number>} flatCoordinates Flat coordinates.
* @param {Array.<number>} ends Ends.
*/