[Script] WME Road Selector

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

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 Road Selector

Postby jm6087 » Mon Jun 25, 2018 10:08 am

hbiede wrote:Minor thing, but may I recommend adding an @exclude to the header of your script to exclude the user profile pages. Thanks!


I have never seen the Road Selector script load on the user profile page.
jm6087
US Waze Champs
US Waze Champs
 
Posts: 3325
Joined: Wed Jun 17, 2015 10:05 pm
Location: Texas
Has thanked: 561 times
Been thanked: 1352 times

Re: [Script] WME Road Selector

Postby JustinS83 » Mon Jun 25, 2018 1:33 pm

jm6087 wrote:
hbiede wrote:Minor thing, but may I recommend adding an @exclude to the header of your script to exclude the user profile pages. Thanks!


I have never seen the Road Selector script load on the user profile page.


It fails to load but it still should be excluded since it is simple to do and the right way to implement the script.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1313
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 335 times
Been thanked: 2332 times

Re: [Script] WME Road Selector

Postby HBiede » Mon Jun 25, 2018 4:38 pm

jm6087 wrote:
hbiede wrote:Minor thing, but may I recommend adding an @exclude to the header of your script to exclude the user profile pages. Thanks!


I have never seen the Road Selector script load on the user profile page.

It doesn’t actually do anything, but Tampermonkey still shows that it attempted to accomplish something.
[ img ][ img ][ img ][ img ][ img ][ img ]
State Manager - Nebraska and Large Area Manager - Montana
Layer Saver Script
HBiede
State Manager
State Manager
 
Posts: 108
Joined: Sat Feb 17, 2018 5:05 am
Location: Nebraska, USA
Has thanked: 83 times
Been thanked: 70 times

Re: [Script] WME Road Selector

Postby pvo11 » Mon Jun 25, 2018 6:16 pm

hbiede wrote:Minor thing, but may I recommend adding an @exclude to the header of your script to exclude the user profile pages. Thanks!

Done.
Because it doesn't change the functionality of the script. It is the version 1.42.1.
pvo11
Area Manager
Area Manager
 
Posts: 1655
Joined: Mon May 19, 2014 5:04 pm
Location: Kutná Hora, Czech Republic
Has thanked: 250 times
Been thanked: 949 times

Re: [Script] WME Road Selector

Postby HBiede » Mon Jun 25, 2018 11:51 pm

Thanks for the quick turn around
[ img ][ img ][ img ][ img ][ img ][ img ]
State Manager - Nebraska and Large Area Manager - Montana
Layer Saver Script
HBiede
State Manager
State Manager
 
Posts: 108
Joined: Sat Feb 17, 2018 5:05 am
Location: Nebraska, USA
Has thanked: 83 times
Been thanked: 70 times

Re: [Script] WME Road Selector

Postby pvo11 » Tue Jun 26, 2018 7:44 pm

New version 1.43 with following changes:
  • New option of Restriction condition for selecting pass subscriptions

Remark:
The new option is only visible in the countries where some pass subscription exists in WME.
I've seen it in:
  • Slovakia
  • Austria
  • USA
  • Canada
  • Israel
but in hope it will be available in many other European countries soon (not Waze soon ;-) ).
pvo11
Area Manager
Area Manager
 
Posts: 1655
Joined: Mon May 19, 2014 5:04 pm
Location: Kutná Hora, Czech Republic
Has thanked: 250 times
Been thanked: 949 times

Re: [Script] WME Road Selector

Postby Olestas » Sun Jul 29, 2018 11:02 am

Does not seem to work for me.. Cannot open any dropdown list for road types or any parameters..

All scripts disabled.
Only error in Console:

Uncaught TypeError: uWaze.model.countries.getObjectById is not a function
at populateCountries (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?id=bf7e2b13-758e-48bb-ba4c-888e75a75c8e:234)
at roadSelector_init (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?id=bf7e2b13-758e-48bb-ba4c-888e75a75c8e:3393)
at Window.roadSelector_bootstrap (chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/userscript.html?id=bf7e2b13-758e-48bb-ba4c-888e75a75c8e:3567)
at <anonymous>:2:491
at e.string.g.function.c.(/editor/anonymous function) (eval at exec_fn (:1:107), <anonymous>:52:483)
[ img ][ img ][ img ][ img ]

GC: Latvia
Coordinator: Latvia
Country manager (Full coverage): Latvia/Lithuania/Belarus/Russia/Ukraine
Olestas
Coordinators
Coordinators
 
Posts: 6327
Joined: Wed Mar 09, 2011 7:08 pm
Location: Latvia
Has thanked: 3464 times
Been thanked: 2354 times

Re: [Script] WME Road Selector

Postby pvo11 » Sun Jul 29, 2018 11:39 am

Sorry about it. It is my mistake.

There was a message in beta WME that the get function is deprecated and it should be replaced by the getObjectById therefore I've changed it in the script but forgot to check whether the new function exists in production WME.

I've returned back the previous version under new version number 1.43.2.
pvo11
Area Manager
Area Manager
 
Posts: 1655
Joined: Mon May 19, 2014 5:04 pm
Location: Kutná Hora, Czech Republic
Has thanked: 250 times
Been thanked: 949 times

Re: [Script] WME Road Selector

Postby pvo11 » Sat Sep 01, 2018 10:58 am

New version 1.44 with following changes:
  • New condition In Junction Box added
pvo11
Area Manager
Area Manager
 
Posts: 1655
Joined: Mon May 19, 2014 5:04 pm
Location: Kutná Hora, Czech Republic
Has thanked: 250 times
Been thanked: 949 times

Re: [Script] WME Road Selector

Postby thahakmms » Fri Sep 07, 2018 8:02 am

How to seelect using this scriptt ?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thahakmms
L2 Map Editor - Kerala & Tamil Nadu
Area Manager - Kerala
India

thahakmms
 
Posts: 38
Joined: Sun Oct 01, 2017 12:04 pm
Location: Alappuzha, Kerala, India
Has thanked: 20 times
Been thanked: 5 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users