[Script] WME Speedhelper

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 Speedhelper

Postby sa9itario » Thu Jul 05, 2018 8:47 pm

Angola - AO
20-30-40-50-60-70-80-90-100-120
km/h
The sign is the European standard sign.

Thank you in advance!
sa9itario
Area Manager
Area Manager
 
Posts: 4
Joined: Mon Sep 29, 2014 8:04 pm
Has thanked: 0 time
Been thanked: 2 times

Re: [Script] WME Speedhelper

Postby santyg2001 » Fri Feb 08, 2019 12:50 am

Hi,

Would be great to have also the 10km/h vel in the Colombian list, as it is used much.

Thanks.
santyg2001
State Manager
State Manager
 
Posts: 296
Joined: Tue Dec 18, 2012 8:17 pm
Has thanked: 126 times
Been thanked: 151 times

Re: [Script] WME Speedhelper

Postby scenic1982 » Thu Feb 11, 2016 8:22 am

Hi!
Please add Kazakhstan speeds to your script.

KAZAKHSTAN = KZ (as reflected on "Your country code: KZ")
20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140
KPH
RED circle with BLACK text on WHITE background is Perfect

_______________________
KZ: {'sgn': BGa, 'ann':'kph', 'spd':[ 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140]}, //--------- 49.Kazakhstan
scenic1982
Area Manager
Area Manager
 
Posts: 38
Joined: Tue Sep 10, 2013 6:26 am
Has thanked: 25 times
Been thanked: 12 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Tue Nov 24, 2015 10:53 pm

Hi gertbroos,

Thanks for your script.

Please can you add this code into addsign.onclick = function() {}
Code: Select all
if ($("#fwdMaxSpeedUnverifiedCheckbox")) $("#fwdMaxSpeedUnverifiedCheckbox").prop( "checked", true );
if ($("#revMaxSpeedUnverifiedCheckbox")) $("#revMaxSpeedUnverifiedCheckbox").prop( "checked", true );

That check boxes "Verified" when we choose a speed. Thank you !

EDIT : Please, add 20km/h (France)
Last edited by Sebiseba on Tue Nov 24, 2015 11:23 pm, edited 1 time in total.
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Wed Nov 25, 2015 7:42 am

gertbroos wrote:Is this in the Beta editor that you allready see these checkboxes? The normal editor doesn't have them yet, so I can't test this function myself.
No it's in the Prod editor in France. Waze's algorithm has already done his job here. We just have to check the speeds.

gertbroos wrote:Just settings these checkboxes to "checked" may not be enough to trigger a "change" so it gets saved.
I know, it's just visual, to make sure the script did his job ;)
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Wed Nov 25, 2015 2:10 pm

gertbroos wrote:No, I mean, just changing the state of the checkbox to "checked" will probably not be enough to trigger a change (change count at the top right of the editor) or did you test the code yourself allready, to see if these checkboxes are still checked after saving? (you will need to see the change count "4" when you make a change.)
I can't test this myself, as I don't have an area available in France to test :)
If it doesn't work, could you change the code to this and let me know if it works?

Your script works fine. I confirm, what I want it's only visual, just to be sure.
It's not easy to explain. Maybe with screenshoot :

A new segment to verify :
2 ways - 1st segment - no verified.png
(6.2 KiB) Downloaded 770 times

When I choose a speed with your script, only first checkbox is checked by WME but speeds are memorized
2 ways - 1st segment - verified.png
(6.55 KiB) Downloaded 767 times

If you add my code, same thing, but checkbox are checked :
2 ways - 1st segment - verified + checked.png
(6.67 KiB) Downloaded 768 times


(Following below because limited to 3 images)
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Wed Nov 25, 2015 2:16 pm

Another visual problem :

I verify a first segment (checkbox is checked by WME)
1st segment - verified.png
(3.8 KiB) Downloaded 760 times

I choose a speed with your script for a second segment (no checkbox are checked)
2nd segment verified.png
(6.13 KiB) Downloaded 764 times
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Thu Nov 26, 2015 3:12 pm

Laurent,
Not exactly, there's only 2 save, not 4

Code: Select all
addsign.onclick =  function() {
    $("input[name=fwdMaxSpeed]").val(allowedspeed).change();
    $("input[name=revMaxSpeed]").val(allowedspeed).change();
    if ($("#fwdMaxSpeedUnverifiedCheckbox")) $("#fwdMaxSpeedUnverifiedCheckbox").prop( "checked", true );
    if ($("#revMaxSpeedUnverifiedCheckbox")) $("#revMaxSpeedUnverifiedCheckbox").prop( "checked", true );
};

The first 2 lines change speed and it's saved into eventlistener
The last 2 lines check checkbox but not do anything into eventlistener. It's just visual.
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby Sebiseba » Mon Dec 14, 2015 6:33 am

Please, can you add 20 km/h in France - FR ?

There's a lot of this :
4309_472_Zone-de-rencontre[1].jpg
(7.21 KiB) Downloaded 751 times
Thanks
GC, colporteur & Local Wiki Master France
CM France, French overseas regions & Guyana
AM Yvelines, Eure-et-Loir, Seychelles, French Polynesia, Comoros, Greenland & Xi'An (China)
Scripts Bookmarks / Map Tiles Update / Color Errors / Toolbox Dev
Sebiseba
Waze Global Champs
Waze Global Champs
 
Posts: 4439
Joined: Tue Jan 17, 2012 8:31 am
Location: Yvelines, Loiret, France
Has thanked: 568 times
Been thanked: 2070 times

Re: [Script] WME Speedhelper

Postby sergioblancoo » Thu Nov 19, 2015 8:22 pm

Hi, could you please add Bolivia:
20-30-50-70-80-100
km/h
Red circle, white background

Thanks in advance!
@sergioblancoo

[ img ][ img ]
--> buckle up \\ no excuses <--
sergioblancoo
 
Posts: 60
Joined: Tue Nov 26, 2013 1:01 pm
Has thanked: 21 times
Been thanked: 24 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: hawkeygoal, jm6087, Mapman44