[Script] WME Color Highlights - 2.33 Sept 2020

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.

Moderators: Unholy, bextein, Glodenox, JustinS83

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.

Re: [Script] WME Color Highlights - 2.32 Sept 2020

Postby G_W1Z » Wed Sep 30, 2020 6:38 pm

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
Pennsylvania/Maine LAM (USA:NEOR)
Waze Etiquette | Lane Guidance | Places
A Phoenix out of the ashes...
iPhone XS running iOSb | Apple Car Play
[ img ][ img ][ img ]
G_W1Z
Area Manager
Area Manager
 
Posts: 577
Joined: Sun Jan 25, 2015 5:05 pm
Location: Pennsylvania, USA
Has thanked: 1201 times
Been thanked: 148 times

Re: [Script] WME Color Highlights - 2.23 Jul 2017

Postby georgenqueiroz » Sat Feb 10, 2018 2:52 pm

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

[ img ][ img ][ img ]
georgenqueiroz
Beta tester
Beta tester
 
Posts: 423
Joined: Wed Jul 11, 2012 10:32 pm
Has thanked: 198 times
Been thanked: 193 times

Re: [Script] WME Color Highlights - 2.23 Jul 2017

Postby georgenqueiroz » Sat Feb 10, 2018 3:57 pm

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".
George Queiroz

[ img ][ img ][ img ]
georgenqueiroz
Beta tester
Beta tester
 
Posts: 423
Joined: Wed Jul 11, 2012 10:32 pm
Has thanked: 198 times
Been thanked: 193 times

Re: [Script] WME Color Highlights - 2.23 Jul 2017

Postby georgenqueiroz » Sat Feb 10, 2018 4:15 pm

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!
George Queiroz

[ img ][ img ][ img ]
georgenqueiroz
Beta tester
Beta tester
 
Posts: 423
Joined: Wed Jul 11, 2012 10:32 pm
Has thanked: 198 times
Been thanked: 193 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby Glodenox » Sun Nov 15, 2015 3:54 pm

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.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1268
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 751 times
Been thanked: 1436 times

Re: [Script] WME Color Highlights - 2.3 Nov 2015

Postby Glodenox » Fri Nov 20, 2015 5:50 pm

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 https://www.waze.com/forum/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.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1268
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 751 times
Been thanked: 1436 times

Re: [Script] WME Color Highlights - 2.23 Jul 2017

Postby Glodenox » Wed May 02, 2018 10:08 am

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
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1268
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 751 times
Been thanked: 1436 times

Re: [Script] WME Color Highlights - 2.1 Nov 2015

Postby glomp » Sun Nov 22, 2015 1:08 pm

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
Country Manager
Country Manager
 
Posts: 2008
Joined: Thu Aug 16, 2012 3:49 pm
Location: Western Australia
Has thanked: 479 times
Been thanked: 1026 times

Re: [Script] WME Color Highlights - 2.23 Jul 2017

Postby glomp » Sat Sep 02, 2017 4:18 am

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
Country Manager
Country Manager
 
Posts: 2008
Joined: Thu Aug 16, 2012 3:49 pm
Location: Western Australia
Has thanked: 479 times
Been thanked: 1026 times

Re: [Script] Highlights for Segments & Landmarks - v1.6 Feb

Postby gohamstergo » Sat Mar 09, 2013 4:22 am

I'll admit, haven't read this whole thread so dunno if suggested before:

New idea for a highlight - Landmarks snapped to road.

Also if possible, highlight landmark types (separate from generic highlight toggle) so that even when zoomed out, small landmark will still show. For example, parking lots. Small ones only show when zoomed in, making them hard to find. If it would highlight when zoomed out, would make it much easier.
gohamstergo
 
Posts: 256
Joined: Mon Dec 12, 2011 8:11 pm
Location: North Texas, USA
Has thanked: 39 times
Been thanked: 21 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: BenEnmen, drgrabowski, Google Feedfetcher, jm6087, Mapman44, Mythdraug