Add support for reversing secondary intercardinal directions on points

This commit is contained in:
Quincy Morgan
2019-09-17 17:02:34 -04:00
parent 252b4006be
commit 5c1bbfbbdc

View File

@@ -55,13 +55,21 @@ export function actionReverse(entityID, options) {
var compassReplacements = {
N: 'S',
NNE: 'SSW',
NE: 'SW',
ENE: 'WSW',
E: 'W',
ESE: 'WNW',
SE: 'NW',
SSW: 'NNW',
S: 'N',
SSW: 'NNE',
SW: 'NE',
WSW: 'ENE',
W: 'E',
NW: 'SE'
WNW: 'ESE',
NW: 'SE',
NNW: 'SSE'
};