WME Context Menu stores various editor elements in an easy-to-access right-click context menu. It can currently copy certain properties of selected segments directly to your clipboard and it integrates with WME Speedhelper and WME Road Selector to help make it even easier and faster to edit the map.
To open the menu, select segment(s) and right-click. Flip between copying to clipboard (1), WME Road Selector integration (2) and WME Speedhelper integration (3) using the buttons in the menubar or pressing their numbered hotkeys while the menu is open: 1, 2, or 3. Activate the push-pin to pin the menu anywhere on the map and prevent it from closing.
If you do not have WME Road Selector installed, the button does nothing and the script will only copy to your clipboard.
If you do not have WME Speedhelper installed, the button will still give you the default WME input panel for editing speed limits.
This was just a recent idea that I had after experiencing several minor annoyances and frustrations with adding speed limits in WME. The first versions of the code were quickly put together over the course of just 2-3 days and so it is definitely in its infancy. Ideas for integrating the context menu with other WME or userscript functions are welcomed. As always, bug reports are greatly appreciated.
Given the big push by Waze to add speed limits (SLs) to the map, the update to version 0.3 provides a few enhancements that I hope you’ll find helpful in getting the job done:
Right-clicking directly on a segment will also open the menu. It is no longer necessary to select a segment before right-clicking.
Relatedly, the context menu will now only show when you right click while hovering over a segment.
When the menu is in pinned mode, you can drag the menu to anywhere except the left side panel. (I like to place mine between the map and street view.)
The behavior of the numeric hotkeys (1-3) for switching among the 3 panels of the context menu has been modified:
When the menu is not pinned to the map, pressing the hotkeys will work anywhere, regardless of your cursor position.
When the menu is pinned, the hotkeys will only activate when your cursor is on the menu.
(In response to milkboy’s request) Verified SLs are highlighted in green if the value matches one of Speedhelper’s signs. Unverified SLs are highlighted yellow.
Two-way roads with differing SL values in each direction are indicated by an A- or B- start node badge on top of the sign.
You can use Speedhelper’s SL signs to selectively assign speed to either A-B or B-A direction:
Shift-click for A-B direction,
Alt-click for B-A direction
For B-A directions, if you don’t like the alt-key, you can actually use any of the 3 modifier keys under the shift key (i.e., one of these: ctrl/alt/meta/cmd).
Use whichever modifier key for the B-A direction that works best for you.
Speedhelper’s SL signs within the context menu will automatically adjust the units of your speeds to those used by the country
(i.e., if your country uses mph, but WME is set to metric, the script will automatically convert their values to km/h.)
As a reminder—these enhanced features listed above currently apply to only the Speedhelper panel within the context menu.
Here’s a better normal sized screenshot of the Speedhelper integration menu…
Note that the speed on the signs differ from what’s in the input box because I have WME set to metric, but USA uses mph. The context menu add-on will automatically convert the values of the Speedhelper signs to the units used by your WME setting.
WME Context Menu has been updated to version 0.3.3 to be fully compatible with latest versions of Firefox. Please let me know if anyone is experiencing any issues.
Fixing issues introduced in WME updates since this was last updated by TLTT. I believe existing functionality is now fully functional, if not please let me know.
Added an Edit Attributes menu which allows you to edit the unpaved, tunnel and headlights properties, segment direction, lock level and elevation on the selected segment(s).
Implemented “center to begin-end of street” script functionality, only displaying when a single segment is selected, with the interface being more easily usable (close to the segment/mouse) and the name being less awkwardly long
Clicking A or B will take you to that node and Return will take you back to the position you were at before jumping to one of the nodes.
Adding support for changing uturns on a single selected segment.
This operates the same as the WME interface - if the arrow is red the uturn is disabled, if it is green it is enabled. Clicking on the node or the uturn arrow will toggle the status and Both will toggle both the A and B nodes.
I am unable to type out the numbers 1, 2, or 3 on my keyboard (on two different computers) while running this script, and occasionally the exclamation point symbol.
Feature suggestion: If possible and you feel it is worth the trouble.
When you right click on a junction node, you get a context menu that will allow you to set the u-turns to green or red on both of the segments at the selected junction node.