Dedicated module for ol.extent.Corner enum
This commit is contained in:
@@ -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');
|
||||||
goog.provide('ol.extent.Corner');
|
|
||||||
goog.provide('ol.extent.Relationship');
|
goog.provide('ol.extent.Relationship');
|
||||||
|
|
||||||
goog.require('ol');
|
goog.require('ol');
|
||||||
goog.require('ol.asserts');
|
goog.require('ol.asserts');
|
||||||
|
goog.require('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'
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Reference in New Issue
Block a user