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 Reply
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

[Script] WME Color Highlights - 2.38 Jan 2024

Post by
Here's my script which adds color highlighting to segments and landmarks according to their status and type. The highlighting of segments is likely to be most useful, for it shows locked and un-named roads (with many other features since the first version). Click on the link below to see full changelog.

https://storage.googleapis.com/wazeoped ... lights.png

:arrow: Install WME Color Highlights script from Greasy Fork - requires Tampermonkey extension
:!: Chrome Extension is no longer supported

:ugeek:
 
 

POSTER_ID:1445148

1

Send a message

Post by Inactive user -1673857766-
I love your script and use it daily but in the "Filter by City" feature the yellow color is difficult to see on Primary Streets. With a bit of trial-and-error I did a temp hack by inserting a nice magenta in the script but would it be possible to change the script permanently so the Filter by City uses a color that will show up with good contrast on all streets? Thanks!
Inactive user -1673857766-
Posts: 71
Has thanked: 201 times
Been thanked: 25 times
Send a message

Post by Inactive user -1673857766-
WazingArch wrote:I might be wrong but I think that "Filter by city" is not highlighting streets, only primary streets and above.
Actually it will filter even PRs and PLRs if there is a city or alternate city listed for the road, or if "No City" is selected.
Inactive user -1673857766-
Posts: 71
Has thanked: 201 times
Been thanked: 25 times
Send a message

Post by Inactive user -1673857766-
SeveriorumPatrem wrote:
Timbones wrote:[*]Tweaked city highlight to improve visibility
Is this why the city highlight yellow is a darker shade?

It's actually a bit harder (for me) to discern the highlights now, the darker yellow (nearing brown) is closer to blending in with the green of grass/trees. I can work with it, just making sure it's intended behavior.

I agree that for me the new color makes things harder. When I suggested that the yellow used for "Filter by City" be changed, I had in mind something with unmistakable contrast with the common colors used for various levels of streets in WME so I am changing the color used in Line 441 to "#ed28ea" which is a vivid magenta that you won't mistake for anything else on the map.
Inactive user -1673857766-
Posts: 71
Has thanked: 201 times
Been thanked: 25 times
Send a message

Post by abc1357
Thank you for the script. Is it possible to have a Master Switch to disable/enable the script? Right now, I have to go to Tampermonkey to turn it off and on again. I would like to retain the existing settings when it's turned off.

Thanks
abc1357
State Manager
State Manager
Posts: 862
Answers: 2
Has thanked: 313 times
Been thanked: 236 times
Send a message


Post by AeRoBianCo
phuz wrote:I have the script failing to highlight any PLRs.
It doesn't do that to me. It is working well highlighting the PLRs in purple.
AeRoBianCo
Map Editor - Level 5
Map Editor - Level 5
Posts: 2034
Has thanked: 1035 times
Been thanked: 688 times
Send a message
AeRoBianCo
https://s.waze.tools/sm.pnghttps://s.waze.tools/am.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/beta.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p1000.pnghttps://s.waze.tools/c5.png
Supervisor Regional Sureste (Chiapas, Guerrero, Oaxaca).
State Manager (Puebla).
Ex-México Country Manager y Ex-Local Champ. :(


Post by age4670
Timbones wrote: Tue Aug 22, 2023 1:54 pm What problem are you seeing with this script? Do you still see the problem when all other scripts are disabled?


 
I can confirm that the fields for "filter by city" and "filter by editor" are not populating. The only warning/error I can find in console is this:

Code: Select all

WME Highlights: editor not initialised yet - trying again in a bit...

WME Color Highlights: 2.35
WME Highlights: Init User list: undefined
WME Highlights: Init City list: Warwick
Tested in both Firefox and Chrome and as the only script running. This has only been since the reversion to WME 2.180
 
age4670  
State Manager
State Manager
Posts: 454
Answers: 3
Has thanked: 221 times
Been thanked: 97 times
Send a message

Post by age4670
Thank you, and I do appreciate the win, and the script is usable now ( :) ) but....

The filter by city list is showing cities that are hundreds of kilometres away.
The filter by editor list is showing editors that have not edited in the area on screen, but they do appear to have edited in some sort of vicinity.

No errors showing in console.
 
 
age4670  
State Manager
State Manager
Posts: 454
Answers: 3
Has thanked: 221 times
Been thanked: 97 times
Send a message

Post by AlanOfTheBerg
madhuvsan wrote:Hey, Can we have this extension upgraded to show revcon, selfcon for streets and service roads also please...
We've discussed this before and decided not to. Revcon and Selfcon are not exactly big errors and seeing them on the map usually makes editors go all q+w all over the map and destroy valid turn restrictions.
AlanOfTheBerg
EmeritusChamps
EmeritusChamps
Posts: 23627
Has thanked: 568 times
Been thanked: 3478 times
Send a message
Wiki Resources: Map Editing Manual | alanoftheberg@gmail.com
Oregon-based US Ex-Global Champ Editor | iPhone13Pro - VZ