Dedicated module for ol.extent.Relationship enum
This commit is contained in:
+1
-15
@@ -1,23 +1,9 @@
|
|||||||
goog.provide('ol.extent');
|
goog.provide('ol.extent');
|
||||||
goog.provide('ol.extent.Relationship');
|
|
||||||
|
|
||||||
goog.require('ol');
|
goog.require('ol');
|
||||||
goog.require('ol.asserts');
|
goog.require('ol.asserts');
|
||||||
goog.require('ol.extent.Corner');
|
goog.require('ol.extent.Corner');
|
||||||
|
goog.require('ol.extent.Relationship');
|
||||||
|
|
||||||
/**
|
|
||||||
* Relationship to an extent.
|
|
||||||
* @enum {number}
|
|
||||||
*/
|
|
||||||
ol.extent.Relationship = {
|
|
||||||
UNKNOWN: 0,
|
|
||||||
INTERSECTING: 1,
|
|
||||||
ABOVE: 2,
|
|
||||||
RIGHT: 4,
|
|
||||||
BELOW: 8,
|
|
||||||
LEFT: 16
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
goog.provide('ol.extent.Relationship');
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Relationship to an extent.
|
||||||
|
* @enum {number}
|
||||||
|
*/
|
||||||
|
ol.extent.Relationship = {
|
||||||
|
UNKNOWN: 0,
|
||||||
|
INTERSECTING: 1,
|
||||||
|
ABOVE: 2,
|
||||||
|
RIGHT: 4,
|
||||||
|
BELOW: 8,
|
||||||
|
LEFT: 16
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user