WME Junction Node Fixer
Automates several operations in WME to improve routing consistency.
Hooks into replaces 'q' (Disable All Turns) and does these actions on the selected node:
Updates keyboard pan amount by 1/4th the map view height.
Saves and persists turn arrow visibility and clickability between reloads/permalinks.
Saves and persists Full-screen mode.
If it detects a closed loop segment (both A and B connected to the same node), it splits the loop into three segments. WARNING house numbers will be associated with the middle segment and will need to be moved to reset their stop point.
If it detects a closed loop that's a Junction (roundabout), it will convert it to a three segment non-Junction loop.
Looks at all segments connected to the selected node and if two or more segments are connected to another node on their opposite ends it will split one of the segments. Does the same thing as SameNode.js bookmarklet.
If a connected segment is a dead-end it will change the segment directionality to two-way if it is not, and update the dead-end node to enable U-Turns. U-Turn behavior is changed from prior versions per wishes of Waze.
Disables any turn that enters a segment against allowed driving direction (revcon) and disables normal U-Turns (selfcon) per best practices. Selfcon will be allowed in the future once proper support for U-Turns is in the app.
Sets roundabout segment Type based on NA and UK rules for roundabout Type. If segments are unnamed it sets segment name of roundabout to empty street name, and city/state/country of majority of connected segments, weighted by Type.
Locks all turns of connected segments at the node that's selected.