Dedicated module for icon origin enum

This commit is contained in:
Tim Schaub
2016-12-27 10:22:57 -07:00
parent 895a506025
commit cbe82913b4
4 changed files with 35 additions and 33 deletions
+12
View File
@@ -0,0 +1,12 @@
goog.provide('ol.style.IconOrigin');
/**
* Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
* @enum {string}
*/
ol.style.IconOrigin = {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_RIGHT: 'bottom-right',
TOP_LEFT: 'top-left',
TOP_RIGHT: 'top-right'
};