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 linguasaltitante
Good afternoon.

The recent visual help that you introduced to WME LaneTools script is very helpful. The possibility to see the lanes only by selecting the segment allow us to quickly see if things are okay or not!

I was thinking if something like that is possible to be added to WME Road Shield Assistant script in order to show a small image of the visual instructions that may be implemented to a certain node! The idea was to, also by selecting the segment, a small image would pop up with such info. I know that at some nodes we will have more than one arrow / instruction with such visual instructions, and the idea was to all of them appear (one popup for each arrow / instruction) by selecting the segment!

Thank you for your great work  :)
 
https://i.ibb.co/cxnV4Hn/Untitled.png
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 388
Has thanked: 219 times
Been thanked: 184 times
Send a message

Post by linguasaltitante
Hello

There seems to be a lot of problems with scripts vs the most recent version of WME ... but I'm not saying anything new 
 
The thing is that this script seems to be affecting the saving of the editions I make. I tried to disable it and, despite a lot of errors shown on the console from others scripts, it seems that, with RSA disabled, saving editions works normally. With RSA enabled, saving time is taking too much time and sometimes it kind of freezes and do not end saving!

I see a lot of the following errors on the console:

Code: Select all

RSA: User PIN not set in WazeWrap tab
saveSettings @ userscript.html?name=WME%2520Road%2520Shield%2520Assistant.user.js&id=543cc7b1-93cd-4ae5-9e46-ae61a6622abd:1399
await in saveSettings (async)
checkOptions @ userscript.html?name=WME%2520Road%2520Shield%2520Assistant.user.js&id=543cc7b1-93cd-4ae5-9e46-ae61a6622abd:1440
newHandler @ WazeWrapLib.js?_=1656274130559:1653
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
pan @ third_party-a8100036d950c97ff4c2.js.gz:2
panMapDone @ third_party-a8100036d950c97ff4c2.js.gz:2
callback @ third_party-a8100036d950c97ff4c2.js.gz:2
dragend @ third_party-a8100036d950c97ff4c2.js.gz:2
mouseup @ third_party-a8100036d950c97ff4c2.js.gz:2
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
handleBrowserEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
 

Code: Select all

WazeWrapLib.js?_=1656274130559:2145

Editor PIN not set
Remote.SaveSettings @ WazeWrapLib.js?_=1656274130559:2145
saveSettings @ userscript.html?name=WME%2520Road%2520Shield%2520Assistant.user.js&id=543cc7b1-93cd-4ae5-9e46-ae61a6622abd:1396
checkOptions @ userscript.html?name=WME%2520Road%2520Shield%2520Assistant.user.js&id=543cc7b1-93cd-4ae5-9e46-ae61a6622abd:1440
newHandler @ WazeWrapLib.js?_=1656274130559:1653
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
pan @ third_party-a8100036d950c97ff4c2.js.gz:2
panMapDone @ third_party-a8100036d950c97ff4c2.js.gz:2
callback @ third_party-a8100036d950c97ff4c2.js.gz:2
dragend @ third_party-a8100036d950c97ff4c2.js.gz:2
mouseup @ third_party-a8100036d950c97ff4c2.js.gz:2
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
handleBrowserEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
These errors are produced every time I drag the map around ...
 
Best regards
 
 
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 388
Has thanked: 219 times
Been thanked: 184 times
Send a message

Post by linguasaltitante
jm6087 wrote: Sun Jun 26, 2022 8:39 pm I am not sure if it is some combination of scripts or not, but I am not having these issues with RSA enabled. 
have you turned off all other scripts and extensions to see if the issue happens with only RSA enabled?
 
 
daveacincy wrote: Sun Jun 26, 2022 8:52 pm Those messages you included from the console all look like informational messages. I dont see any that are errors.
 
I would look for any messages that occur when you click on Save.
 
Sorry for my lack of knowledge in what concerns scripts. I just guessed that those shown in red on the console would be errors. 

I wasn't able to upload a new GIF to imgbb because of it's size, so please find it where.

I disabled all scripts, leaving only RSA on. Also disabled TB because there seems to be some issues with it and some scripts. 

The result is what you can see on the GIF of the link above.

For me, those shown on red on console are errors, right? :oops:

Thanks to both for the feedback.

----

EDIT

... forgot to mention that I'm using Edge
 
 
 
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 388
Has thanked: 219 times
Been thanked: 184 times
Send a message


Post by linguasaltitante
daveacincy wrote: Sun Jun 26, 2022 9:38 pm Yes, the red messages and pink background in console are generally errors. If you look at one of the "Uncaught" messages and click on both of the black triangles, it should reveal more details on the error.

Can you capture that and post it?
 

 
Where you have some of those "Uncaught" errors:

Code: Select all

www.waze.com/:1 
        
       Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}message: "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received"[[Prototype]]: Object
Promise.then (async)
(anonymous) @ content_script_bundle.js:100
handleNewFeatures @ content_script_bundle.js:93
handleUpdatedNodes @ content_script_bundle.js:93
(anonymous) @ content_script_bundle.js:93
attributes (async)
addClass @ third_party-a8100036d950c97ff4c2.js.gz:2
toggleClass @ third_party-a8100036d950c97ff4c2.js.gz:2
jQuery.fn.toggleClass @ jquery-migrate-3.0.0.min.js:17
e._onEditingEnabledChanged @ app-278a59350594b7a94de2.js.gz:1
v @ third_party-a8100036d950c97ff4c2.js.gz:2
y @ third_party-a8100036d950c97ff4c2.js.gz:2
d @ third_party-a8100036d950c97ff4c2.js.gz:2
c.trigger @ third_party-a8100036d950c97ff4c2.js.gz:2
set @ third_party-a8100036d950c97ff4c2.js.gz:2
t.lockEditing @ app-278a59350594b7a94de2.js.gz:1
t._lockEditing @ app-278a59350594b7a94de2.js.gz:1
t @ app-278a59350594b7a94de2.js.gz:1
t._startSave @ app-278a59350594b7a94de2.js.gz:1
r._callHandler @ third_party-a8100036d950c97ff4c2.js.gz:2
request @ third_party-a8100036d950c97ff4c2.js.gz:2
t.save @ app-278a59350594b7a94de2.js.gz:1
t.triggerSave @ app-278a59350594b7a94de2.js.gz:1
dispatch @ third_party-a8100036d950c97ff4c2.js.gz:2
g.handle @ third_party-a8100036d950c97ff4c2.js.gz:2
www.waze.com/:1 
        
       Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}message: "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received"[[Prototype]]: Object
Promise.then (async)
(anonymous) @ content_script_bundle.js:100
handleNewFeatures @ content_script_bundle.js:93
handleUpdatedNodes @ content_script_bundle.js:93
(anonymous) @ content_script_bundle.js:93
www.waze.com/:1 
        
       Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}
Promise.then (async)
(anonymous) @ content_script_bundle.js:100
handleNewFeatures @ content_script_bundle.js:93
handleUpdatedNodes @ content_script_bundle.js:93
(anonymous) @ content_script_bundle.js:93
www.waze.com/:1 
        
       Uncaught (in promise) {message: 'A listener indicated an asynchronous response by r…age channel closed before a response was received'}
Promise.then (async)
(anonymous) @ content_script_bundle.js:100
handleNewFeatures @ content_script_bundle.js:93
handleUpdatedNodes @ content_script_bundle.js:93
(anonymous) @ content_script_bundle.js:93
attributes (async)
attr @ third_party-a8100036d950c97ff4c2.js.gz:2
W @ third_party-a8100036d950c97ff4c2.js.gz:2
attr @ third_party-a8100036d950c97ff4c2.js.gz:2
_setLiveMapLink @ app-278a59350594b7a94de2.js.gz:1
v @ third_party-a8100036d950c97ff4c2.js.gz:2
y @ third_party-a8100036d950c97ff4c2.js.gz:2
d @ third_party-a8100036d950c97ff4c2.js.gz:2
c.trigger @ third_party-a8100036d950c97ff4c2.js.gz:2
t._triggerStateChanged @ app-278a59350594b7a94de2.js.gz:1
t.updateMapLocation @ app-278a59350594b7a94de2.js.gz:1
e.storeLocationIfValidEnvironment @ app-278a59350594b7a94de2.js.gz:1
(anonymous) @ app-278a59350594b7a94de2.js.gz:1
(anonymous) @ app-278a59350594b7a94de2.js.gz:1
(anonymous) @ app-278a59350594b7a94de2.js.gz:1
a @ app-278a59350594b7a94de2.js.gz:1
Promise.then (async)
l @ app-278a59350594b7a94de2.js.gz:1
(anonymous) @ app-278a59350594b7a94de2.js.gz:1
a @ app-278a59350594b7a94de2.js.gz:1
e.updateFeatures @ app-278a59350594b7a94de2.js.gz:1
(anonymous) @ app-278a59350594b7a94de2.js.gz:1
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
pan @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
s.<computed> @ third_party-a8100036d950c97ff4c2.js.gz:2
requestAnimationFrame (async)
r @ third_party-a8100036d950c97ff4c2.js.gz:2
start @ third_party-a8100036d950c97ff4c2.js.gz:2
move @ third_party-a8100036d950c97ff4c2.js.gz:2
panMapDone @ third_party-a8100036d950c97ff4c2.js.gz:2
callback @ third_party-a8100036d950c97ff4c2.js.gz:2
dragend @ third_party-a8100036d950c97ff4c2.js.gz:2
mouseup @ third_party-a8100036d950c97ff4c2.js.gz:2
triggerEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
handleBrowserEvent @ third_party-a8100036d950c97ff4c2.js.gz:2
(anonymous) @ third_party-a8100036d950c97ff4c2.js.gz:2
 
linguasaltitante
Map Editor - Level 5
Map Editor - Level 5
Posts: 388
Has thanked: 219 times
Been thanked: 184 times
Send a message

Post by maiapas
Hi Everyone,

Could you please explain the logic behind the attribute Highlights segments that have shields that maybe shouldn't? What does it mean?

Thank you!
Maia 
 
maiapas
Waze Team
Waze Team
Posts: 2387
Answers: 3
Has thanked: 295 times
Been thanked: 2657 times
Send a message

Post by MrDonut261
Thanks for the great script!

Could you check if you can fix the bug where the letters or numbers clip into each other. The sign symbols don't seem to clip.
Screenshot_1.png
(18.99 KiB) Downloaded 1152 times
In addition, the German blue sign (freeway) has a white font color.

Regards!

EDIT: I just saw update, everything fits now!
MrDonut261
Posts: 823
Answers: 2
Has thanked: 259 times
Been thanked: 221 times
Send a message

Post by MrDonut261
Hey,

in Germany we have the following street names: "A61 - E31" or "A1 - A61 - E31" or "B44 - Frankenthaler Straße" or "B50 - B327 - E42" or "B27 - Tunnel Schürzeberg". 

The streets are indicated with: "Segments that have shields but maybe should't"

But streets with this name should have a shield  :D


When road shields appear at "Segments that have shields but maybe should't", they no longer appear at "Segments with Shields". The streets should also appear here, as they have road shields (just wrong ones).

Regards :) 
 

 
 
 
 
 
MrDonut261
Posts: 823
Answers: 2
Has thanked: 259 times
Been thanked: 221 times
Send a message

Post by NivekFr
Hello,

Thank you for this stript and for your reactivity.

In France we have a display problem with long road numbers: https://i28.servimg.com/u/f28/11/23/60/90/shared10.jpg ("D6015")
NivekFr
State Manager
State Manager
Posts: 318
Has thanked: 156 times
Been thanked: 28 times
Send a message

Post by NivekFr
SkiDooGuy wrote:Pushed an update earlier. Let me know if there are still issues with text fitting in the shields.
It's much better, thank you ;)
https://i28.servimg.com/u/f28/11/23/60/90/shared11.jpg
NivekFr
State Manager
State Manager
Posts: 318
Has thanked: 156 times
Been thanked: 28 times
Send a message