From 5c22405f059a14449465e7621d4e93656d90998d Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 25 Apr 2017 17:23:10 -0400 Subject: [PATCH] Commented out HEADING value from mapping hash. This was causing an undefined value which inturn caused a default direction of movement --- src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js b/src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js index 404406c1..678d038d 100644 --- a/src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js +++ b/src/mapengine/leaflet/js/utils/leaflet-eng.utils.milstd.js @@ -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; @@ -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;