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.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)
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
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.
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.
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
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?
George Queiroz
I installed the extension using the link to the chrome store that is available in the first page of this topic.RussPA wrote:Using v2.24 from here?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?
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".
George Queiroz
Sorry, that was my fault. It's working now.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.
Thank you!
George Queiroz
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:
I've used the colours green and blue for the markings, but that's up to you to decide of course.
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) '
> + ' <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;
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
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=165746SuperDave1426 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
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.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
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.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png
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
Firefox v43.0b5 (beta), OS X El Capitan
Firefox v43.0b5 (beta), Windows 7
https://s.waze.tools/gc.pnghttps://wiki.waze.com/wiki/images/e/ed/AuSig.png
Austraila Wiki | CA: Australia
Austraila Wiki | CA: Australia
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.
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.
https://s.waze.tools/gc.pnghttps://wiki.waze.com/wiki/images/e/ed/AuSig.png
Austraila Wiki | CA: Australia
Austraila Wiki | CA: Australia
Re: [Script] WME Color Highlights - 2.32 Sept 2020