[Script] WME Junction Angle Info

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

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 Junction Angle Info

Postby Arnoniem » Tue Aug 08, 2017 9:35 am

ditchi56 wrote:Script (version 1.12.0) is not working for me in Chrome (and, yes, I've had disabled WME Color Highlights). Works OK in Firefox.
Please update to latest version 1.13.4, see opening post.

Sent from my S7 using Tapatalk
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2204
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 306 times
Been thanked: 576 times

Re: [Script] WME Junction Angle Info

Postby ditchi56 » Tue Aug 08, 2017 9:31 am

Script (version 1.12.0) is not working for me in Chrome (and, yes, I've had disabled WME Color Highlights). Works OK in Firefox.
ditchi56
Country Manager
Country Manager
 
Posts: 5002
Joined: Tue May 29, 2012 12:35 pm
Has thanked: 1131 times
Been thanked: 2097 times

Re: [Script] WME Junction Angle Info

Postby Arnoniem » Sat Aug 05, 2017 10:04 pm

Agree on that. Kill the first 4 arrow sets.
And to make the Instruction Override colour visibility default ON like Turbomkt suggested ;)
And off course, to match all other instructions; create a colour box for the Continue. (if you don't want to use it in orange, you can always set it back to white) ;)
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2204
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 306 times
Been thanked: 576 times

Re: [Script] WME Junction Angle Info

Postby sketch » Sat Aug 05, 2017 9:52 pm

I say, just delete the first four sets. No reason to display the left and right arrow when the up-left and up-right would be more appropriate anyway.
sketch
Waze Global Champs
Waze Global Champs
 
Posts: 6076
Joined: Sat Aug 08, 2009 6:13 pm
Location: New Orleans, LA
Has thanked: 1534 times
Been thanked: 2074 times

Re: [Script] WME Junction Angle Info

Postby skippy10 » Sat Aug 05, 2017 6:24 am

seb-d59 wrote:
sketch wrote:I would recommend changing your "direction arrows" setting. To be honest I don't know why the first four options even exist. With a 'continue' they are misleading for sure. At least, there should be an 'up arrow' or carat ^ for continue with the first four options, if people like <> for exit/keep for some reason.

[ img ]


For the moment, is the best solution ;)

The problem:
Code: Select all
angleDisplayArrows: { elementType: "select", elementId: "_jaSelAngleDisplayArrows", defaultValue: "<>", options: ["<>", "⇦⇨", "⇐⇒", "←→", "⇐⇒⇖⇗⇑", "←→↖↗↑"]},   

Code: Select all
   var ja_arrow = {
      get: function(at) {
         var arrows = ja_getOption("angleDisplayArrows");
         return arrows[at % arrows.length];
      },
      left: function() { return this.get(0); },
      right: function() { return this.get(1); },
      left_up: function() { return this.get(2); },
      right_up: function() { return this.get(3); },
      up: function() { return this.get(4); }
   };

When I implemented the overrides, I simply added these two symbols: ⇑ ↑
And I had not tested the first 4 set of symbols :oops:

I think of a better way to do ...
Maybe just delete the first 4 set of symbols ?

Sorry, but I'm not the original author. ;)


Choosing the last option works VERY well !
skippy10
Waze Mentor
Waze Mentor
 
Posts: 994
Joined: Mon Dec 26, 2011 10:15 pm
Location: Troyes, France
Has thanked: 296 times
Been thanked: 86 times

Re: [Script] WME Junction Angle Info

Postby seb-d59 » Sat Aug 05, 2017 6:22 am

Or do this :
Code: Select all
angleDisplayArrows: { elementType: "select", elementId: "_jaSelAngleDisplayArrows", defaultValue: "<>", options: ["<><>^", "⇦⇨⇦⇨⇧", "⇐⇒⇐⇒⇑", "←→←→↑", "⇐⇒⇖⇗⇑", "←→↖↗↑"]},

JAI.png
(6.72 KiB) Downloaded 47 times
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1847
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59) - Mentoring Nord Pas-de-Calais
Has thanked: 443 times
Been thanked: 418 times

Re: [Script] WME Junction Angle Info

Postby seb-d59 » Sat Aug 05, 2017 6:11 am

sketch wrote:I would recommend changing your "direction arrows" setting. To be honest I don't know why the first four options even exist. With a 'continue' they are misleading for sure. At least, there should be an 'up arrow' or carat ^ for continue with the first four options, if people like <> for exit/keep for some reason.

[ img ]


For the moment, is the best solution ;)

The problem:
Code: Select all
angleDisplayArrows: { elementType: "select", elementId: "_jaSelAngleDisplayArrows", defaultValue: "<>", options: ["<>", "⇦⇨", "⇐⇒", "←→", "⇐⇒⇖⇗⇑", "←→↖↗↑"]},   

Code: Select all
   var ja_arrow = {
      get: function(at) {
         var arrows = ja_getOption("angleDisplayArrows");
         return arrows[at % arrows.length];
      },
      left: function() { return this.get(0); },
      right: function() { return this.get(1); },
      left_up: function() { return this.get(2); },
      right_up: function() { return this.get(3); },
      up: function() { return this.get(4); }
   };

When I implemented the overrides, I simply added these two symbols: ⇑ ↑
And I had not tested the first 4 set of symbols :oops:

I think of a better way to do ...
Maybe just delete the first 4 set of symbols ?

Sorry, but I'm not the original author. ;)
seb-d59
Waze Local Champs
Waze Local Champs
 
Posts: 1847
Joined: Fri Jan 03, 2014 8:01 am
Location: Croix (59) - Mentoring Nord Pas-de-Calais
Has thanked: 443 times
Been thanked: 418 times

Re: [Script] WME Junction Angle Info

Postby turbomkt » Fri Aug 04, 2017 7:38 pm

Arnoniem wrote:
turbomkt wrote:This is already highlighted by Toolbox. Or do you want the arrow to be highlighted?

Do you actually use/know this script?
EDIT: If you want to know what my request in the previous post is about, start reading this thread from page 44, where the IO was integrated in JAI.

I have the TB highlight, but I'm using JAI to show the actual IO in colour. There is no colour yet for continue, so I can't deviate NO instructions from CONTINUE instruction now, without accessing the IO popup.


Sure do. And the same as with others further back in the thread as you pointed out, missed the part where it was providing an indicator of TIO. I think a new option like this should be opt in rather than opt out, so you don't have to read through every single post to learn something has changed.
turbomkt
Waze Mentor
Waze Mentor
 
Posts: 390
Joined: Thu Jan 22, 2015 1:05 am
Location: San Diego, Ca
Has thanked: 221 times
Been thanked: 97 times

Re: [Script] WME Junction Angle Info

Postby Arnoniem » Fri Aug 04, 2017 3:16 pm

I just noticed the difference in arrow sets as well, and have changed mine into the last. I actually only look at the arrow to differentiate the left from right. Instruction I use the colour code.
Is it difficult to implement? I don't understand why you wouldn't :D
I understand you use the arrows, but I like the colours. All other colours are customiseable, so why not this colour?
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2204
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 306 times
Been thanked: 576 times

Re: [Script] WME Junction Angle Info

Postby Arnoniem » Fri Aug 04, 2017 3:11 pm

seb-d59 wrote:I do not see where the conflict is.

It should not be forgotten that white is the default color for straight instruction or no instruction.

So the conflict is actually in your last sentence; There's a default colour White, for 2 different instructions.
I prefer to modify the continue, rather then the Best Continuation colour, which is not possible at the moment.
Arnoniem
Waze Global Champs
Waze Global Champs
 
Posts: 2204
Joined: Thu Jan 03, 2013 7:21 am
Location: The Netherlands, UAE, Oman
Has thanked: 306 times
Been thanked: 576 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: Rameshhelp, tonestertm