I just downloaded this script tonight. I can only get one route to display at a time also.
Ike
JDTech4U
Northwestern Pennsylvania
JDTech4U
Northwestern Pennsylvania
MapOMatic and tonestertm,
Thanks very much for adding the ability to support passes/permits. As someone who's primary editing area which has several of these routes, I highly appreciate this.
Thanks!
Thanks very much for adding the ability to support passes/permits. As someone who's primary editing area which has several of these routes, I highly appreciate this.
Thanks!
JimboBaggins1966
https://s.waze.tools/am.png https://s.waze.tools/beta.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/mntr.pnghttps://s.waze.tools/mapr.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p0100.pnghttps://s.waze.tools/c5s.png
https://s.waze.tools/am.png https://s.waze.tools/beta.pnghttps://s.waze.tools/betc.pnghttps://s.waze.tools/mntr.pnghttps://s.waze.tools/mapr.pnghttps://s.waze.tools/s0500.pnghttps://s.waze.tools/p0100.pnghttps://s.waze.tools/c5s.png
I am not able to reproduce the issue you mention.uscwaller wrote:Bug....it calculates the time of the route, but does not highlight the route
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
As a test, lines 815-820 & 844 start with:Olestas wrote:MapOMatic / JustinS83
the script is not doing anything on WME language interfaces other than English.. can you fix this?
For example Latvian or Russian interfaces
Spams console with error
Uncaught TypeError: Cannot read property 'layers' of undefined
at loopWMERouteSpeeds (eval at <anonymous> (:2:297), <anonymous>23)
loopWMERouteSpeeds @ VM303:1846
Code: Select all
I18n.translations.en
Code: Select all
I18n.translations[I18n.currentLocale()]
The end result should look something like this:
Code: Select all
I18n.translations[I18n.currentLocale()].layers.name["__DrawRouteSpeeds1"] = "Route Speeds";
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
Always good to have someone else that knows the fix, thoughBellHouse wrote:
EDIT: Oops, sorry for the double post. Seems I was a bit too slow.
MapOMatic will be publishing the fix for this shortly.
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
This script is merely using the routing engine to determine the routes. Just like if you were to use livemap or the app, if your start and end are too close the routing engine will only have one route that it determines is the best.hmarian wrote:MapOMatic and others...
Is there a minimum distance between the two selected segments, in order to receive more than one route?
I get 2 or more route when the segments are far from one another and only one, when they are close, although there is more than one valid route.
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
I didn't write this script, but from reading the code it looks like it is requesting the routes from livemap and there is an option for how many routes to receive. Livemap must be limiting the number of routes to a max of 3 whereas this script allows showing as many as it receives (doesn't always receive as many as it requests).hmarian wrote:I appreciate the answer.JustinS83 wrote:This script is merely using the routing engine to determine the routes. Just like if you were to use livemap or the app, if your start and end are too close the routing engine will only have one route that it determines is the best.
If this is the case, could you or someone else explain the context of 4th and 5th "Alternative routes", which are not available in LiveMap (max 3 are shown).
The same question goes to the "try more" option. How is this functioning.
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
Can you provide the livemap PL, please?Olestas wrote:Entering livemap link to A field does not seem to simulate livemap route.. any ideas?
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
It looks like you have a malformed PL. Routespeeds looks for "livemap?" to determine if it needs to do livemap PL routing, but in your link it is "livemap/?".Olestas wrote:JustinS83 wrote:Can you provide the livemap PL, please?Olestas wrote:Entering livemap link to A field does not seem to simulate livemap route.. any ideas?
Here
https://www.waze.com/livemap/?zoom=15&l ... t_text=Now
I don't see where this extra forward slash is coming from - when I generate the route PL it does not contain the slash.
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
Could be. I don't see any harm in covering this case as well, though.Olestas wrote:Very strange.. I don't know how it was done.. probably person, who gave me the link, typed it like that?
Script Writing Community Coordinator
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
https://s.waze.tools/gc.pnghttps://s.waze.tools/s0300.pnghttps://s.waze.tools/c6s.pnghttps://wiki.waze.com/wiki/images/c/c1/ ... Tester.png
Re: [Script] WME Route Speeds (Traffic)