Dedicated module for ol.extent.Corner enum

This commit is contained in:
Tim Schaub
2016-12-04 13:03:58 -08:00
parent 82c0dcdc00
commit 780bb1b30d
2 changed files with 13 additions and 13 deletions

12
src/ol/extent/corner.js Normal file
View File

@@ -0,0 +1,12 @@
goog.provide('ol.extent.Corner');
/**
* Extent corner.
* @enum {string}
*/
ol.extent.Corner = {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_RIGHT: 'bottom-right',
TOP_LEFT: 'top-left',
TOP_RIGHT: 'top-right'
};

View File

@@ -1,21 +1,9 @@
goog.provide('ol.extent');
goog.provide('ol.extent.Corner');
goog.provide('ol.extent.Relationship');
goog.require('ol');
goog.require('ol.asserts');
/**
* Extent corner.
* @enum {string}
*/
ol.extent.Corner = {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_RIGHT: 'bottom-right',
TOP_LEFT: 'top-left',
TOP_RIGHT: 'top-right'
};
goog.require('ol.extent.Corner');
/**