[Script] WME Roundabout Angles

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, Glodenox, JustinS83

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 Roundabout Angles

Postby voludu2 » Tue Nov 21, 2017 2:29 pm

In addition, I receive the following error in the console when I attempt to run this script:

Code: Select all
 Uncaught TypeError: Cannot read property 'layers' of undefined
    at DrawRoundaboutAngles (eval at <anonymous> (:2:479), <anonymous>:112:30)     VM230:112

This line is:
Code: Select all
I18n.translations.en.layers.name["__DrawRoundaboutAngles"] = "Roundabout Angles"

[ img ]
USA Northeast Region Discord Chat
State Manager - Pennsylvania
Country Manager - USA and Thailand
Wiki Master, Global Mentor
utilitas, simplicitas, retentionis
voludu2
Map Editor - Level 5
Map Editor - Level 5
 
Posts: 3049
Joined: Thu Jul 24, 2014 12:33 pm
Location: Chester County, Pennsylvania
Has thanked: 793 times
Been thanked: 1233 times

Re: [Script] WME Roundabout Angles

Postby JustinS83 » Thu Nov 23, 2017 2:02 pm

voludu2 wrote:In addition, I receive the following error in the console when I attempt to run this script:

Code: Select all
 Uncaught TypeError: Cannot read property 'layers' of undefined
    at DrawRoundaboutAngles (eval at <anonymous> (:2:479), <anonymous>:112:30)     VM230:112

This line is:
Code: Select all
I18n.translations.en.layers.name["__DrawRoundaboutAngles"] = "Roundabout Angles"

I'm surprised any scripts are still running into this.

Changing to this should fix it:
Code: Select all
I18n.translations[I18n.currentLocale().layers.name["__DrawRoundaboutAngles"] = "Roundabout Angles"
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1324
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 337 times
Been thanked: 2344 times

Re: [Script] WME Roundabout Angles

Postby funwayz » Tue May 08, 2018 11:28 am

Sorry to resurrect an old thread, but has anybody had any success in getting this script working again. Unfortunately I cannot work out how to make the changes that Justin says to make
funwayz
 
Posts: 251
Joined: Sat Feb 24, 2018 6:53 am
Has thanked: 61 times
Been thanked: 40 times

Re: [Script] WME Roundabout Angles

Postby Javier_MDQ » Tue May 08, 2018 12:41 pm

I gave up with this one, when RA Util added the "Show Roundabout Angles" option:
https://greasyfork.org/en/scripts/23616-wme-ra-util
Javier_MDQ
 
Posts: 85
Joined: Fri May 12, 2017 5:19 pm
Location: MDQ, Argentina
Has thanked: 37 times
Been thanked: 31 times

Re: [Script] WME Roundabout Angles

Postby JustinS83 » Tue May 08, 2018 1:28 pm

funwayz wrote:Sorry to resurrect an old thread, but has anybody had any success in getting this script working again. Unfortunately I cannot work out how to make the changes that Justin says to make

The author of this script is no longer active. I incorporated it into WME RA Util
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1324
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 337 times
Been thanked: 2344 times

Re: [Script] WME Roundabout Angles

Postby carloslaso » Tue May 08, 2018 7:22 pm

I will lock this thread until the author comes back, you can use the script JustinS83 mentions in his post.
[ img ][ img ]
Coordinador de Comunidad en México / Foro MX / Waze Status
Supervisor Noroeste México

iPhone 11 Pro Max / iOS 13ß / Waze ß 4.x
carloslaso
Global Champ Mentor
Global Champ Mentor
 
Posts: 3122
Joined: Fri Aug 20, 2010 1:30 am
Location: Sonora, Mexico
Has thanked: 1770 times
Been thanked: 2437 times

Previous

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: umopapisdn