Use union type instead of enum for extent corner

This commit is contained in:
Frederic Junod
2021-09-06 10:31:19 +02:00
committed by Andreas Hocevar
parent 3a061ed576
commit 9c1b55e09c
3 changed files with 13 additions and 24 deletions
-14
View File
@@ -1,14 +0,0 @@
/**
* @module ol/extent/Corner
*/
/**
* Extent corner.
* @enum {string}
*/
export default {
BOTTOM_LEFT: 'bottom-left',
BOTTOM_RIGHT: 'bottom-right',
TOP_LEFT: 'top-left',
TOP_RIGHT: 'top-right',
};