Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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 jm6087
SuperDave1426 wrote: Thu Nov 11, 2021 12:15 am Did an update to WME break this script?  I recently (I don't use it a lot, but it's nice on those occasions when I need it) tried selecting two different road segments but no "Routes" tab appeared on the left - just General, Road Closures, and Lanes.

Any ideas?
 

 
I just used it on several roundabouts and it appears to work for me.

 
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 9468
Answers: 21
Has thanked: 829 times
Been thanked: 2940 times
Send a message
Thanks,
John
US Global Champ



Post by jm6087
Just spit-balling, making things up as I type.  Make sure that you are signed into livemap .   
:?:  :?:
 
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 9468
Answers: 21
Has thanked: 829 times
Been thanked: 2940 times
Send a message
Thanks,
John
US Global Champ



Post by jm6087
I didn't say it was a good idea :D

Is it loading?  Anything in the console?

What version do you have?
 
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 9468
Answers: 21
Has thanked: 829 times
Been thanked: 2940 times
Send a message
Thanks,
John
US Global Champ



Post by jm6087
daveacincy wrote: Wed Feb 01, 2023 11:28 pm This is most likely the same problem that I just fixed in QuickHN. Route Checker and QuickHN are the only two that I have seen that add a tab to the edit segments side panel.

Dave
 


 
US Government Boundaries has a conflict as well
 
jm6087  
Waze Global Champs
Waze Global Champs
Posts: 9468
Answers: 21
Has thanked: 829 times
Been thanked: 2940 times
Send a message
Thanks,
John
US Global Champ



Post by juliansean
Thank you for keeping the script updated. It’s appreciated!

Sean
juliansean
Country Manager
Country Manager
Posts: 1348
Answers: 1
Has thanked: 350 times
Been thanked: 378 times
Send a message
Sean Julian
CM
SM: TX, LA, MS, AR, OK
AM: SE FL, Boston, MA, Brooklyn, NY, Bronx, NY, Manhattan, NY, Queens, NY, E CA, SW KS


Post by JustADrvr
You probably already know this, but the August 22 WME update seems to have stopped Route Checker from working. There's a brief flash of "Fetching route from LiveMap," but no route is calculated. The console error looks like this:

Code: Select all

Uncaught TypeError: Cannot read properties of undefined (reading 'streetNames')
at showInstructions (userscript.html?name=WME-Route-Checker.user.js&id=758c408c-66a9-4000-b1b6-eb41c6bafea2:340:27)
at showNavigation (userscript.html?name=WME-Route-Checker.user.js&id=758c408c-66a9-4000-b1b6-eb41c6bafea2:278:5)
at Object.success (userscript.html?name=WME-Route-Checker.user.js&id=758c408c-66a9-4000-b1b6-eb41c6bafea2:202:7)
at l (third_party-9c33f5fe5e1a0edb.js.gz:2:1723978)
at Object.fireWith [as resolveWith] (third_party-9c33f5fe5e1a0edb.js.gz:2:1724726)
at k (third_party-9c33f5fe5e1a0edb.js.gz:2:1775683)
at XMLHttpRequest.<anonymous> (third_party-9c33f5fe5e1a0edb.js.gz:2:1778151)
 
 
JustADrvr
Posts: 36
Has thanked: 16 times
Been thanked: 16 times
Send a message

Post by JustADrvr
Timbones wrote: Wed Aug 23, 2023 10:14 pm I'm not seeing this error. Can you share a permalink that shows it for you?


 
As far as I can tell, it's any two segments I select, but here's a PL in Cartersville, GA, USA to two of them not working for me: https://waze.com/en-US/editor?env=usa&l ... ,510177603

It happens as I described above: brief flash of calculating, blank route, console error. I've only been using the script a few days, but had no trouble until the Aug 22 WME update.
 
JustADrvr
Posts: 36
Has thanked: 16 times
Been thanked: 16 times
Send a message

Post by JustADrvr
jangliss wrote: Sun Sep 10, 2023 5:49 amThe query fails to execute because the code cannot fetch the environment. Line 227 and 229 need to be updated to use:

Code: Select all

W.model.countries.top.attributes.env
This is part of the 2.180 updates that moved a lot of attributes from the parent of the object to attributes.
 
 


 
Is there a way for an end user to modify these lines, or does it require the current project to be updated or forked?
 
 
JustADrvr
Posts: 36
Has thanked: 16 times
Been thanked: 16 times
Send a message

Post by kkesley
Excellent!!! tested and approved ;)
kkesley
Waze Mentor
Waze Mentor
Posts: 988
Has thanked: 1682 times
Been thanked: 495 times
Send a message

Post by kodi75
What is considered a Natural Route?
natural route.PNG
Natural Route
(43.92 KiB) Downloaded 299 times
kodi75
Country Manager
Country Manager
Posts: 995
Answers: 1
Has thanked: 811 times
Been thanked: 285 times
Send a message