[Script] Street Vector Layer

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][Beta] Street Vector Layer

Postby bedo2991 » Mon Nov 23, 2015 2:45 pm

Version 2.0 is out! :mrgreen:
  • More arrows on one way streets with few geometry nodes
  • Names follow the direction of the street (heads will turn :D ).

Let me know if something doesn't work as you'd expect.

Enjoy!
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Nov 23, 2015 3:41 pm

Small update, 2.1
As the street name on short street might cover them completely, the street name on one-way streets contains now two arrows too. In this way it's also possible to see the direction of important streets when the zoom is not close enough to draw the arrows.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Dec 07, 2015 2:40 pm

Version 2.3 is out.
* Non validated speed limits are shown with a question mark after their street name.
* Variable/methods names should not collide with other scripts anymore (thanks Glodenox)
If you want to show unverified speed limits with a dashed style, you can manually change line 941
from:
Code: Select all
strokeDashstyle: "solid",//(attributes.fwdMaxSpeedUnverified|attributes.revMaxSpeedUnverified ? "dash":"solid"),

to:
Code: Select all
strokeDashstyle: (attributes.fwdMaxSpeedUnverified|attributes.revMaxSpeedUnverified ? "dash":"solid"),
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sun Dec 13, 2015 8:17 am

Later today I'll create a github project, then everybody can collaborare and I don't have to merge changes manually :).

Inviato dal mio PLK-L01 utilizzando Tapatalk
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sun Dec 13, 2015 6:12 pm

Quickly created one here: https://github.com/bedo2991/svl
Here is a list of issues: https://github.com/bedo2991/svl/issues (you need a Github account to create new ones).
Here is how to fork a repository: https://help.github.com/articles/fork-a-repo/
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Wed Dec 16, 2015 10:32 am

dummyd2 wrote:can you remove this please:
Code: Select all
console.debug = function(){}; //Comment it out for production mode


It breaks this useful function for other scripts :mrgreen:

Now fixed in version 2.4
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Fri Dec 18, 2015 9:21 am

Imperial fix uploaded to production -> V. 2.5 is out.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Tue Dec 29, 2015 5:29 pm

Glodenox wrote:I've seen other scripts just using unsafeWindow without that check and they seem to run fine.

Hi, can you please update the Waze Wiki with your working proposal?

https://wiki.waze.com/wiki/Scripts/WME_ ... evelopment
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Sat Jan 02, 2016 5:58 pm

Brave beta testers may download a new version (2.6) from here. It will be updated automatically to the production one with an updated version number once it is release to anyone.
New:
+In the preferences panel is now possible to define the labels' width for the far and close-zoom levels.
+There is a new div that appears when you open the preference panel that shows you with 2 colors if you are currently in the far or close zoom level.
+Closing animation for preference panel
+You can also decide whether to display unverified speed limits with a dashed line from the preferences too (recommended, it's the default behaviour).
+New proposed Chrome/Firefox bootstrap added.
Fix:
labelOutlineWidth parameter in the preferences is now working.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

Re: [Script][Beta] Street Vector Layer

Postby bedo2991 » Mon Jan 04, 2016 1:05 pm

Version 2.6.2 is out for everyone!
The changelog is in the previous post.
Francesco
Italian Global Champ
[ img ][ img ][ img ][ img ][ img ][ img ]
New: Street Vector Layer (SVL)
"Slack volant, forum manent"
bedo2991
Waze Global Champs
Waze Global Champs
 
Posts: 1894
Joined: Sat Jan 07, 2012 12:45 pm
Location: Italy, Marche
Has thanked: 689 times
Been thanked: 1096 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jm6087