Remove default export from ol/extent
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_format_GeoJSON_ from '../src/ol/format/GeoJSON.js';
|
||||
import _ol_has_ from '../src/ol/has.js';
|
||||
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
|
||||
2
examples/d3.js
vendored
2
examples/d3.js
vendored
@@ -1,7 +1,7 @@
|
||||
// NOCOMPILE
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Image_ from '../src/ol/layer/Image.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_format_KML_ from '../src/ol/format/KML.js';
|
||||
import _ol_interaction_ from '../src/ol/interaction.js';
|
||||
import _ol_interaction_Select_ from '../src/ol/interaction/Select.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_control_ from '../src/ol/control.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Image_ from '../src/ol/layer/Image.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_format_WMTSCapabilities_ from '../src/ol/format/WMTSCapabilities.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Image_ from '../src/ol/layer/Image.js';
|
||||
import _ol_proj_Projection_ from '../src/ol/proj/Projection.js';
|
||||
import _ol_source_ImageStatic_ from '../src/ol/source/ImageStatic.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_format_GeoJSON_ from '../src/ol/format/GeoJSON.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_format_GeoJSON_ from '../src/ol/format/GeoJSON.js';
|
||||
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
import _ol_source_Vector_ from '../src/ol/source/Vector.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_Stamen_ from '../src/ol/source/Stamen.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_control_ from '../src/ol/control.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_WMTS_ from '../src/ol/source/WMTS.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_control_ from '../src/ol/control.js';
|
||||
import _ol_extent_ from '../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_proj_ from '../src/ol/proj.js';
|
||||
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
|
||||
|
||||
@@ -788,50 +788,3 @@ export function applyTransform(extent, transformFn, opt_extent) {
|
||||
var ys = [coordinates[1], coordinates[3], coordinates[5], coordinates[7]];
|
||||
return _boundingExtentXYs(xs, ys, opt_extent);
|
||||
}
|
||||
|
||||
export default {
|
||||
boundingExtent: boundingExtent,
|
||||
buffer: buffer,
|
||||
clone: clone,
|
||||
closestSquaredDistanceXY: closestSquaredDistanceXY,
|
||||
containsCoordinate: containsCoordinate,
|
||||
containsExtent: containsExtent,
|
||||
containsXY: containsXY,
|
||||
coordinateRelationship: coordinateRelationship,
|
||||
createEmpty: createEmpty,
|
||||
createOrUpdate: createOrUpdate,
|
||||
createOrUpdateEmpty: createOrUpdateEmpty,
|
||||
createOrUpdateFromCoordinate: createOrUpdateFromCoordinate,
|
||||
createOrUpdateFromCoordinates: createOrUpdateFromCoordinates,
|
||||
createOrUpdateFromFlatCoordinates: createOrUpdateFromFlatCoordinates,
|
||||
createOrUpdateFromRings: createOrUpdateFromRings,
|
||||
equals: equals,
|
||||
extend: extend,
|
||||
extendCoordinate: extendCoordinate,
|
||||
extendCoordinates: extendCoordinates,
|
||||
extendFlatCoordinates: extendFlatCoordinates,
|
||||
extendRings: extendRings,
|
||||
extendXY: extendXY,
|
||||
forEachCorner: forEachCorner,
|
||||
getArea: getArea,
|
||||
getBottomLeft: getBottomLeft,
|
||||
getBottomRight: getBottomRight,
|
||||
getCenter: getCenter,
|
||||
getCorner: getCorner,
|
||||
getEnlargedArea: getEnlargedArea,
|
||||
getForViewAndSize: getForViewAndSize,
|
||||
getHeight: getHeight,
|
||||
getIntersectionArea: getIntersectionArea,
|
||||
getIntersection: getIntersection,
|
||||
getMargin: getMargin,
|
||||
getSize: getSize,
|
||||
getTopLeft: getTopLeft,
|
||||
getTopRight: getTopRight,
|
||||
getWidth: getWidth,
|
||||
intersects: intersects,
|
||||
isEmpty: isEmpty,
|
||||
returnOrUpdate: returnOrUpdate,
|
||||
scaleFromCenter: scaleFromCenter,
|
||||
intersectsSegment: intersectsSegment,
|
||||
applyTransform: applyTransform
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../../../../src/ol/Map.js';
|
||||
import _ol_View_ from '../../../../src/ol/View.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_Point_ from '../../../../src/ol/geom/Point.js';
|
||||
import _ol_layer_Tile_ from '../../../../src/ol/layer/Tile.js';
|
||||
import _ol_obj_ from '../../../../src/ol/obj.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_extent_ from '../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../src/ol/extent.js';
|
||||
import _ol_proj_ from '../../../src/ol/proj.js';
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_format_EsriJSON_ from '../../../../src/ol/format/EsriJSON.js';
|
||||
import _ol_geom_LineString_ from '../../../../src/ol/geom/LineString.js';
|
||||
import _ol_geom_LinearRing_ from '../../../../src/ol/geom/LinearRing.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_format_GeoJSON_ from '../../../../src/ol/format/GeoJSON.js';
|
||||
import _ol_geom_Circle_ from '../../../../src/ol/geom/Circle.js';
|
||||
import _ol_geom_GeometryCollection_ from '../../../../src/ol/geom/GeometryCollection.js';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_format_MVT_ from '../../../../src/ol/format/MVT.js';
|
||||
import _ol_geom_Point_ from '../../../../src/ol/geom/Point.js';
|
||||
import _ol_geom_Polygon_ from '../../../../src/ol/geom/Polygon.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_LineString_ from '../../../../src/ol/geom/LineString.js';
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_LineString_ from '../../../../src/ol/geom/LineString.js';
|
||||
import _ol_geom_MultiLineString_ from '../../../../src/ol/geom/MultiLineString.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_MultiPoint_ from '../../../../src/ol/geom/MultiPoint.js';
|
||||
import _ol_geom_Point_ from '../../../../src/ol/geom/Point.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_Circle_ from '../../../../src/ol/geom/Circle.js';
|
||||
import _ol_geom_LinearRing_ from '../../../../src/ol/geom/LinearRing.js';
|
||||
import _ol_geom_Polygon_ from '../../../../src/ol/geom/Polygon.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../../../../src/ol/Map.js';
|
||||
import _ol_View_ from '../../../../src/ol/View.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_geom_Polygon_ from '../../../../src/ol/geom/Polygon.js';
|
||||
import _ol_interaction_DragZoom_ from '../../../../src/ol/interaction/DragZoom.js';
|
||||
import _ol_layer_Vector_ from '../../../../src/ol/layer/Vector.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {getUid} from '../../../../src/ol/index.js';
|
||||
import _ol_array_ from '../../../../src/ol/array.js';
|
||||
import _ol_Collection_ from '../../../../src/ol/Collection.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_layer_Group_ from '../../../../src/ol/layer/Group.js';
|
||||
import _ol_layer_Layer_ from '../../../../src/ol/layer/Layer.js';
|
||||
import _ol_obj_ from '../../../../src/ol/obj.js';
|
||||
|
||||
@@ -2,7 +2,7 @@ import {getUid} from '../../../../../src/ol/index.js';
|
||||
import _ol_Feature_ from '../../../../../src/ol/Feature.js';
|
||||
import _ol_Map_ from '../../../../../src/ol/Map.js';
|
||||
import _ol_View_ from '../../../../../src/ol/View.js';
|
||||
import _ol_extent_ from '../../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../../src/ol/extent.js';
|
||||
import _ol_geom_Point_ from '../../../../../src/ol/geom/Point.js';
|
||||
import _ol_layer_Vector_ from '../../../../../src/ol/layer/Vector.js';
|
||||
import _ol_obj_ from '../../../../../src/ol/obj.js';
|
||||
|
||||
@@ -6,7 +6,7 @@ import _ol_TileState_ from '../../../../../src/ol/TileState.js';
|
||||
import _ol_VectorImageTile_ from '../../../../../src/ol/VectorImageTile.js';
|
||||
import _ol_VectorTile_ from '../../../../../src/ol/VectorTile.js';
|
||||
import _ol_View_ from '../../../../../src/ol/View.js';
|
||||
import _ol_extent_ from '../../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../../src/ol/extent.js';
|
||||
import _ol_format_MVT_ from '../../../../../src/ol/format/MVT.js';
|
||||
import _ol_geom_Point_ from '../../../../../src/ol/geom/Point.js';
|
||||
import _ol_layer_VectorTile_ from '../../../../../src/ol/layer/VectorTile.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {DEFAULT_MAX_ZOOM, DEFAULT_TILE_SIZE} from '../../../../src/ol/tilegrid/common.js';
|
||||
import _ol_TileRange_ from '../../../../src/ol/TileRange.js';
|
||||
import _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../../src/ol/extent.js';
|
||||
import _ol_proj_ from '../../../../src/ol/proj.js';
|
||||
import _ol_proj_EPSG3857_ from '../../../../src/ol/proj/EPSG3857.js';
|
||||
import _ol_proj_Projection_ from '../../../../src/ol/proj/Projection.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import _ol_Map_ from '../../../src/ol/Map.js';
|
||||
import _ol_View_ from '../../../src/ol/View.js';
|
||||
import _ol_ViewHint_ from '../../../src/ol/ViewHint.js';
|
||||
import _ol_extent_ from '../../../src/ol/extent.js';
|
||||
import * as _ol_extent_ from '../../../src/ol/extent.js';
|
||||
import _ol_geom_Circle_ from '../../../src/ol/geom/Circle.js';
|
||||
import _ol_geom_LineString_ from '../../../src/ol/geom/LineString.js';
|
||||
import _ol_geom_Point_ from '../../../src/ol/geom/Point.js';
|
||||
|
||||
Reference in New Issue
Block a user