Dedicated module for ol.extent.Corner enum
This commit is contained in:
12
src/ol/extent/corner.js
Normal file
12
src/ol/extent/corner.js
Normal 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'
|
||||
};
|
||||
@@ -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');
|
||||
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user