-function FOSSGISValhallaEngine(id, costing) {
- var INSTR_MAP = [
- 0, // kNone = 0;
- 8, // kStart = 1;
- 8, // kStartRight = 2;
- 8, // kStartLeft = 3;
- 14, // kDestination = 4;
- 14, // kDestinationRight = 5;
- 14, // kDestinationLeft = 6;
- 0, // kBecomes = 7;
- 0, // kContinue = 8;
- 1, // kSlightRight = 9;
- 2, // kRight = 10;
- 3, // kSharpRight = 11;
- 4, // kUturnRight = 12;
- 4, // kUturnLeft = 13;
- 7, // kSharpLeft = 14;
- 6, // kLeft = 15;
- 5, // kSlightLeft = 16;
- 0, // kRampStraight = 17;
- 24, // kRampRight = 18;
- 25, // kRampLeft = 19;
- 24, // kExitRight = 20;
- 25, // kExitLeft = 21;
- 0, // kStayStraight = 22;
- 1, // kStayRight = 23;
- 5, // kStayLeft = 24;
- 20, // kMerge = 25;
- 10, // kRoundaboutEnter = 26;
- 11, // kRoundaboutExit = 27;
- 17, // kFerryEnter = 28;
- 0, // kFerryExit = 29;
- null, // kTransit = 30;
- null, // kTransitTransfer = 31;
- null, // kTransitRemainOn = 32;
- null, // kTransitConnectionStart = 33;
- null, // kTransitConnectionTransfer = 34;
- null, // kTransitConnectionDestination = 35;
- null, // kPostTransitConnectionDestination = 36;
- 21, // kMergeRight = 37;
- 20 // kMergeLeft = 38;
- ];
+(function () {
+ function FOSSGISValhallaEngine(id, costing) {
+ const INSTR_MAP = [
+ 0, // kNone = 0;
+ 8, // kStart = 1;
+ 8, // kStartRight = 2;
+ 8, // kStartLeft = 3;
+ 14, // kDestination = 4;
+ 14, // kDestinationRight = 5;
+ 14, // kDestinationLeft = 6;
+ 0, // kBecomes = 7;
+ 0, // kContinue = 8;
+ 1, // kSlightRight = 9;
+ 2, // kRight = 10;
+ 3, // kSharpRight = 11;
+ 4, // kUturnRight = 12;
+ 4, // kUturnLeft = 13;
+ 7, // kSharpLeft = 14;
+ 6, // kLeft = 15;
+ 5, // kSlightLeft = 16;
+ 0, // kRampStraight = 17;
+ 24, // kRampRight = 18;
+ 25, // kRampLeft = 19;
+ 24, // kExitRight = 20;
+ 25, // kExitLeft = 21;
+ 0, // kStayStraight = 22;
+ 1, // kStayRight = 23;
+ 5, // kStayLeft = 24;
+ 20, // kMerge = 25;
+ 10, // kRoundaboutEnter = 26;
+ 10, // kRoundaboutExit = 27;
+ 17, // kFerryEnter = 28;
+ 0, // kFerryExit = 29;
+ null, // kTransit = 30;
+ null, // kTransitTransfer = 31;
+ null, // kTransitRemainOn = 32;
+ null, // kTransitConnectionStart = 33;
+ null, // kTransitConnectionTransfer = 34;
+ null, // kTransitConnectionDestination = 35;
+ null, // kPostTransitConnectionDestination = 36;
+ 21, // kMergeRight = 37;
+ 20 // kMergeLeft = 38;
+ ];