Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by G_W1Z
Timbones wrote:Thanks for your feedback, everyone - here's v2.32 with a few more tweaks:
  • City highlight is now hot pink!
  • Fixed typo in 'tunnels with elevation' highlight (thanks Rickendude)
  • Routing preference now shaded like the effective road type (thanks Harmonious4)
  • Lane Guidance highlight is now darker and dashed (different from segment selection)
    (checkout WME-LaneTools if you want more advanced highlights for lanes)
When it was yellow, it would be a dashed mix of yellow and white if the alt-name matched. Now, there is no coloring if the alt-name matches.
G_W1Z
State Manager
State Manager
Posts: 1123
Answers: 1
Has thanked: 2022 times
Been thanked: 433 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by G_W1Z
When only using color highlights in WME prod v2.195 segments are not highlighting when their box is ticked.

Example: https://waze.com/en-US/editor?env=usa&l ... omLevel=19
The segments circled in red are ones I edited yesterday (11/20/2023.) I have the box checked to highlight in green segments recently edited.
2.gif
(726.16 KiB) Downloaded 84 times
G_W1Z
State Manager
State Manager
Posts: 1123
Answers: 1
Has thanked: 2022 times
Been thanked: 433 times
Send a message
G_W1Z
Pennsylvania SM | New Jersey LAM | District of Columbia & Maine AM
USA Regions: NOR, MAR, NER
A phoenix out of the ashes...together building a more perfect map.
» Waze Etiquette | PA Wiki | Glossary | Places | Lanes | Shields | JSG | Scripts «
https://storage.googleapis.com/wazeoped ... anager.pnghttps://j.mp/2X2TtcVhttps://www.dropbox.com/s/3o2pi4wjn6w1s ... .jpg?raw=1https://www.dropbox.com/scl/fi/yezyes6g ... 0rem&raw=1

Post by georgenqueiroz
I just installed WME Color Highlights, but it's not working. Is there anyone who is facing the same problem? Any idea how to fix this?
georgenqueiroz
Local Champ Mentor
Local Champ Mentor
Posts: 594
Has thanked: 251 times
Been thanked: 212 times
Send a message
George Queiroz

Post by georgenqueiroz
RussPA wrote:
georgenqueiroz wrote:I just installed WME Color Highlights, but it's not working. Is there anyone who is facing the same problem? Any idea how to fix this?
Using v2.24 from here?
I installed the extension using the link to the chrome store that is available in the first page of this topic.

Anyway, I tried to install the extension using the link you send, but it didn't work. After the installation was finished, I couldn't activate it.

The following message was shown: "this extension may have been corrupted".
georgenqueiroz
Local Champ Mentor
Local Champ Mentor
Posts: 594
Has thanked: 251 times
Been thanked: 212 times
Send a message
George Queiroz

Post by georgenqueiroz
RussPA wrote:I would uninstall the extension you installed from the first post, v2.23 doesn't work right. The one I linked (v2.24) is a script, not an extension, and it does work.
Sorry, that was my fault. It's working now.

Thank you!
georgenqueiroz
Local Champ Mentor
Local Champ Mentor
Posts: 594
Has thanked: 251 times
Been thanked: 212 times
Send a message
George Queiroz

Post by Glodenox
I've adjusted my local version to also show roads that have speed limits set (or not) and marking for unverified speed limits. It wasn't all that hard to add, though I did need to make changes at about 8 different places in the code, which isn't really that optimal.

Here's the patch:

Code: Select all

37a38,40
>   var showSpeedLimit = getId('_cbHighlightSpeedLimit').checked;
>   var showSpeedLimitInvert = getId('_cbHighlightSpeedLimitInvert').checked;
>   var showUnverifiedSpeedLimit = getId('_cbHighlightUnverifiedSpeedLimit').checked;
45c48
<      | specificCity | specificEditor | specificRoadType | showNoTerm | showRecent) == false) {
---
>      | specificCity | specificEditor | specificRoadType | showNoTerm | showSpeedLimit | showUnverifiedSpeedLimit | showRecent) == false) {
162a166,167
>     var speedLimit = attributes.fwdMaxSpeed !== null || attributes.revMaxSpeed !== null;
>     var unverifiedSpeedLimit = attributes.fwdMaxSpeedUnverified || attributes.revMaxSpeedUnverified;
272a278,291
>     // Speed limit specified = Green
>     else if (showSpeedLimit) {
>       // Optimized binary representation of "(speedLimit && !showSpeedLimitInvert) || (!speedLimit && showSpeedLimitInvert)"
>       if (speedLimit !== showSpeedLimitInvert) {
>         newColor = "#0F0";
>         newOpacity = 0.5;
>       }
>     }
>     
>     // Unverified speed limits = Blue
>     else if (showUnverifiedSpeedLimit && unverifiedSpeedLimit) {
>       newColor = "#00F";
>       newOpacity = 0.5;
>     }
1438a1458,1462
>                      + '<input type="checkbox" id="_cbHighlightSpeedLimit" /> '
>                      + '<span>Speed limits (Green) &nbsp; '
>                      + '  <input type="checkbox" id="_cbHighlightSpeedLimitInvert" /> invert</span><br> '
>                      + '<input type="checkbox" id="_cbHighlightUnverifiedSpeedLimit" /> '
>                      + '<span>Unverified speed limits (Blue)</span><br>'
1527a1552,1554
>   getId('_cbHighlightSpeedLimit').onclick = highlightSegments;
>   getId('_cbHighlightSpeedLimitInvert').onclick = highlightSegments;
>   getId('_cbHighlightUnverifiedSpeedLimit').onclick = highlightSegments;
1556a1584,1586
>     getId('_cbHighlightSpeedLimit').checked       = options[23];
>     getId('_cbHighlightSpeedLimitInvert').checked       = options[24];
>     getId('_cbHighlightUnverifiedSpeedLimit').checked = options[25];
1602a1633,1635
>       options[23] = getId('_cbHighlightSpeedLimit').checked;
>       options[24] = getId('_cbHighlightSpeedLimitInvert').checked;
>       options[25] = getId('_cbHighlightUnverifiedSpeedLimit').checked;
I've used the colours green and blue for the markings, but that's up to you to decide of course.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1565
Answers: 1
Has thanked: 278 times
Been thanked: 940 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
SuperDave1426 wrote:Ok, so what makes a speed limit "verified?" So far, I've found roads that have no speed limit data in them at all. So what's the difference between a road having a speed limit and a "verified" speed limit?

--Dave
Speed limits entered by editors are always verified. It's the speed limits generated by the prediction algorithm by Waze that are always unverified. See viewtopic.php?f=8&t=165746

So as long as the prediction algorithm hasn't ran yet in your country, it's normal that you won't encounter any unverified speed limits.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1565
Answers: 1
Has thanked: 278 times
Been thanked: 940 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by Glodenox
Hey, please be aware your script still seems to rely on the Waze object, which will be removed in one of the upcoming beta releases. You can test this yourself in the beta environment as the proxy object implemented by Waze (to make window.Waze point to window.W) also logs an error in the web console now.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1565
Answers: 1
Has thanked: 278 times
Been thanked: 940 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by glomp
Possible bug: when you check the No Speed Limit checkbox on a browser refresh the Alternate Name checkbox is checked when the browser reloads.

Firefox v43.0b5 (beta), OS X El Capitan
Firefox v43.0b5 (beta), Windows 7
glomp
EmeritusChamps
EmeritusChamps
Posts: 2008
Has thanked: 351 times
Been thanked: 966 times
Send a message

Post by glomp
Any chance of making the "Avg Speed Cams" and "Recently Edited" options independant of each other?

If the "Recently Edited" and "Avg Speed Cams"options are toggled at the same time, the segments that have "Avg Speed Cams" are not highlighted.

Some editors have, previously, incorrectly set "Avg Speed Cams" to segments. The abilty to see both at the same time helps track down these incorrectly set segments while still being able to check for recent edits performed.
glomp
EmeritusChamps
EmeritusChamps
Posts: 2008
Has thanked: 351 times
Been thanked: 966 times
Send a message