mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-20 01:53:28 +00:00
Add support for reversing secondary intercardinal directions on points
This commit is contained in:
@@ -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'
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user