From 66dc2582efc2edeb107797de576af7a48593bbef Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 4 Dec 2016 14:36:24 -0700 Subject: [PATCH] Dedicated module for GeometryLayout --- src/ol/geom/geometry.js | 15 --------------- src/ol/geom/geometrylayout.js | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 src/ol/geom/geometrylayout.js diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 437144c031..fd158cde3b 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -1,5 +1,4 @@ goog.provide('ol.geom.Geometry'); -goog.provide('ol.geom.GeometryLayout'); goog.require('ol'); goog.require('ol.Object'); @@ -9,20 +8,6 @@ goog.require('ol.proj'); goog.require('ol.proj.Units'); -/** - * The coordinate layout for geometries, indicating whether a 3rd or 4th z ('Z') - * or measure ('M') coordinate is available. Supported values are `'XY'`, - * `'XYZ'`, `'XYM'`, `'XYZM'`. - * @enum {string} - */ -ol.geom.GeometryLayout = { - XY: 'XY', - XYZ: 'XYZ', - XYM: 'XYM', - XYZM: 'XYZM' -}; - - /** * @classdesc * Abstract base class; normally only used for creating subclasses and not diff --git a/src/ol/geom/geometrylayout.js b/src/ol/geom/geometrylayout.js new file mode 100644 index 0000000000..3578e1ffe3 --- /dev/null +++ b/src/ol/geom/geometrylayout.js @@ -0,0 +1,15 @@ +goog.provide('ol.geom.GeometryLayout'); + + +/** + * The coordinate layout for geometries, indicating whether a 3rd or 4th z ('Z') + * or measure ('M') coordinate is available. Supported values are `'XY'`, + * `'XYZ'`, `'XYM'`, `'XYZM'`. + * @enum {string} + */ +ol.geom.GeometryLayout = { + XY: 'XY', + XYZ: 'XYZ', + XYM: 'XYM', + XYZM: 'XYZM' +};