diff --git a/src/ol/extent/Corner.js b/src/ol/extent/Corner.js index 174026a98e..0f98ebc79e 100644 --- a/src/ol/extent/Corner.js +++ b/src/ol/extent/Corner.js @@ -5,11 +5,9 @@ * Extent corner. * @enum {string} */ -var _ol_extent_Corner_ = { +export default { BOTTOM_LEFT: 'bottom-left', BOTTOM_RIGHT: 'bottom-right', TOP_LEFT: 'top-left', TOP_RIGHT: 'top-right' }; - -export default _ol_extent_Corner_; diff --git a/src/ol/extent/Relationship.js b/src/ol/extent/Relationship.js index 2c993f1a17..6cad82a5ad 100644 --- a/src/ol/extent/Relationship.js +++ b/src/ol/extent/Relationship.js @@ -5,7 +5,7 @@ * Relationship to an extent. * @enum {number} */ -var _ol_extent_Relationship_ = { +export default { UNKNOWN: 0, INTERSECTING: 1, ABOVE: 2, @@ -13,5 +13,3 @@ var _ol_extent_Relationship_ = { BELOW: 8, LEFT: 16 }; - -export default _ol_extent_Relationship_;