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 seb-d59
valginhak wrote:The WME has been updated, and WME Color Speeds v1.1.4 and several other scripts no longer work. I hope the updates do not take long. :?
Oups! :oops:
Sorry for this inconvenience.

But, the default English is no longer present, which broke the script.
The script did not start for languages other than Fr or En.
And when i updated on the 09 nov 2016, i don't have tested the others langages...

It's corrected! ;)
ditchi56 wrote:Conor Speeds is no longer working for me. I think (since I can't see a speedometer icon in the left-hand panel).
How long has it been broken for you?
Can you test this new update?
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
jm6087 wrote:The layers menu has been reorganized in the new WME Beta release. The color speeds option is no longer showing. Is this something that can be fixed?
v1.1.7: fix the layer switcher in WME beta
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
v1.1.8: fix the layer switcher in WME Prod / beta and create a "scripts switcher" if not exist.
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Ok, I saw the problem.

Do you need the script in "event mode"?
Because, I can detect the mode and disable the script ...
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Kkervinjones wrote:Hi, did the above issue with Event mode ever get fixed?
Heu... Oups! :oops: :D

Now it's fixed ! ;)
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
It's strange, at home it works perfectly.
But, i found the problem ...

However, I do not explain why Jai initializes correctly, because I used the same piece of code for the 2 scripts ...
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Hi, I just pushed an update to fix that.
ojlaw wrote:i have a request- would it be possible to look into why sometimes i can't find the Color Speeds script checkbox in the layers menu? like here it is missing -
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Hi !
valginhak wrote:Is the problem in FU or CS?
Hum... Is a good question...

Let me one moment for have a look ;)
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Hello,
Have your any message in the Java console about Color Speeds ?
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message

Post by seb-d59
Ok, i see this:
userscript.html?id=2423d064-467a-44eb-8d1b-e75cde8f2d86:427 Uncaught TypeError: Cannot read property 'name' of null
at Window.CSpeeds_init (userscript.html?id=2423d064-467a-44eb-8d1b-e75cde8f2d86:427)
Is from the "W.model.countries.top.name" is not ok in the right time... and "countrie.top == null".

If you can, go to the tampermonkey script éditor and replace the line 416:

Code: Select all

if(typeof(CSpeedsCountries.top) == 'undefined'){
by:

Code: Select all

if(typeof(CSpeedsCountries.top) == 'undefined' || CSpeedsCountries.top === null){
If your test (at the same permalink and zoom) is ok, i push an update.
seb-d59
Emeritus Local Champ
Emeritus Local Champ
Posts: 1897
Has thanked: 428 times
Been thanked: 625 times
Send a message