Skip to content

Commit

Permalink
Commented out HEADING value from mapping hash. This was causing an un…
Browse files Browse the repository at this point in the history
…defined value which inturn caused a default direction of movement
  • Loading branch information
Nicholas Clark committed Apr 25, 2017
1 parent f977fbf commit 5c22405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ leafLet.utils.milstd.stringToModifiers = (function() {
mapping[longModifiers.Y_UNITS] = longModifiers.Y_UNITS;
mapping[longModifiers.SIZE] = longModifiers.SIZE;
mapping[longModifiers.LINE_THICKNESS] = longModifiers.LINE_THICKNESS;
mapping[longModifiers.HEADING] = s2525Modifiers.DIRECTION_OF_MOVEMENT;
// mapping[longModifiers.HEADING] = s2525Modifiers.DIRECTION_OF_MOVEMENT;
mapping[longModifiers.STANDARD] = s2525Modifiers.STANDARD;

return mapping;
Expand Down Expand Up @@ -1116,7 +1116,7 @@ leafLet.utils.milstd.o2525ModifierToLong = (function() {
mapping[longModifiers.Y_UNITS] = longModifiers.Y_UNITS;
mapping[longModifiers.SIZE] = longModifiers.SIZE;
mapping[longModifiers.LINE_THICKNESS] = longModifiers.LINE_THICKNESS;
mapping[s2525Modifiers.HEADING] = longModifiers.DIRECTION_OF_MOVEMENT;
// mapping[s2525Modifiers.HEADING] = longModifiers.DIRECTION_OF_MOVEMENT;
mapping[s2525Modifiers.STANDARD] = longModifiers.STANDARD;

return mapping;
Expand Down

0 comments on commit 5c22405

Please sign in to comment.