Shared module for overlay positioning enum

This commit is contained in:
Tim Schaub
2016-12-27 13:57:55 -07:00
parent 7ee52f413d
commit 9ddee2ea4e
4 changed files with 41 additions and 39 deletions
+19
View File
@@ -0,0 +1,19 @@
goog.provide('ol.OverlayPositioning');
/**
* Overlay position: `'bottom-left'`, `'bottom-center'`, `'bottom-right'`,
* `'center-left'`, `'center-center'`, `'center-right'`, `'top-left'`,
* `'top-center'`, `'top-right'`
* @enum {string}
*/
ol.OverlayPositioning = {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_CENTER: 'bottom-center',
BOTTOM_RIGHT: 'bottom-right',
CENTER_LEFT: 'center-left',
CENTER_CENTER: 'center-center',
CENTER_RIGHT: 'center-right',
TOP_LEFT: 'top-left',
TOP_CENTER: 'top-center',
TOP_RIGHT: 'top-right'
};