Merge pull request #8113 from tschaub/re-export-geom

Re-export geometry constructors from ol/geom
This commit is contained in:
Tim Schaub
2018-04-24 01:50:16 -06:00
committed by GitHub
8 changed files with 19 additions and 17 deletions

12
src/ol/geom.js Normal file
View File

@@ -0,0 +1,12 @@
/**
* @module ol/geom
*/
export {default as Circle} from './geom/Circle.js';
export {default as Geometry} from './geom/Geometry.js';
export {default as LineString} from './geom/LineString.js';
export {default as MultiLineString} from './geom/MultiLineString.js';
export {default as MultiPoint} from './geom/MultiPoint.js';
export {default as MultiPolygon} from './geom/MultiPolygon.js';
export {default as Point} from './geom/Point.js';
export {default as Polygon} from './geom/Polygon.js';