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.
Post by Twister-UK
So long as Waze continue to keep their heads stuck in the sand apparently not listening to any of the (mostly valid) criticisms of the new road layer, then this script could become very important to quite a few editors, myself included, and it's something I would have almost certainly ended up trying to write myself if no-one else had done so. So I'd say it's very definitely worth continuing with, and if there's anything I can help out with please don't hesitate to get in touch. PM has already been sent :D
Twister-UK
Waze Local Champs
Waze Local Champs
Posts: 3907
Has thanked: 549 times
Been thanked: 3323 times
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork


https://chizzum.com/greasemonkey/images/beta.pnghttps://chizzum.com/greasemonkey/images/s0300.pnghttps://chizzum.com/greasemonkey/images/c5s.png

Post by Twister-UK
This looks like a startup sequencing problem between SVL and the native Waze code. On my PC at home SVL initialises cleanly, whereas on my slower PC at work it fails exactly as described above. A quick poke around in the code shows that it's failing in wbwGlobals() at the point where it tries to read the Waze.map.zoom attribute, because at the point at which this line of code is executed on this particular PC, the parent Waze.map object hasn't yet been created...

If you have a look in the uroRealWazeBits() function in URO+ you'll see the method I've used to ensure all the necessary Waze bits are present before attempting to access them - I'd suggest modifying your corresponding wbwWazeBits() function to provide similar object-existence testing before allowing SVL to continue initialising, and also call wbwWazeBits() *before* wbwGlobals() so that you then know Waze.map.zoom must exist.
Twister-UK
Waze Local Champs
Waze Local Champs
Posts: 3907
Has thanked: 549 times
Been thanked: 3323 times
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork


https://chizzum.com/greasemonkey/images/beta.pnghttps://chizzum.com/greasemonkey/images/s0300.pnghttps://chizzum.com/greasemonkey/images/c5s.png

Post by Trotskyist
Works great on ubuntu 14.04. Chrome and Firefox.
Trotskyist
Posts: 41
Has thanked: 8 times
Been thanked: 13 times
Workers of the world, unite!

Twister-UK
Waze Local Champs
Waze Local Champs
Posts: 3907
Has thanked: 549 times
Been thanked: 3323 times
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork


https://chizzum.com/greasemonkey/images/beta.pnghttps://chizzum.com/greasemonkey/images/s0300.pnghttps://chizzum.com/greasemonkey/images/c5s.png

Post by Twister-UK
It does, but you can't do anything with them - they're rendered only in the static bitmap tiles used for the native road layers, the corresponding segment data that WME (and SVL) requires to let you actually edit the segments isn't however loaded until you zoom in a bit.
Twister-UK
Waze Local Champs
Waze Local Champs
Posts: 3907
Has thanked: 549 times
Been thanked: 3323 times
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork


https://chizzum.com/greasemonkey/images/beta.pnghttps://chizzum.com/greasemonkey/images/s0300.pnghttps://chizzum.com/greasemonkey/images/c5s.png

Post by tkr85
wlodek76/FZ69617 Rout Speeds get transit speeds from data returned by livemap router, show this data for all displayed roads would be very very slow.
tkr85
Area Manager
Area Manager
Posts: 161
Has thanked: 42 times
Been thanked: 138 times

Post by Timbones
Doesn't run at all on /en-GB/editor :( I suspect it'll break other languages with dashes.

Why not stick with something simple: https://*.waze.com/*editor/*

Belt and braces: check that Waze object exists, and quit your bootstrap if it doesn't:

Code: Select all

  if (typeof Waze == 'undefined') {
    return; // not WME
  }
Timbones
Coordinators
Coordinators
Posts: 7147
Answers: 2
Has thanked: 886 times
Been thanked: 2725 times
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
bedo2991 wrote:
  • Locked segments above your editing level are shown with a intimidating black line.
This doesn't really affect me (and I haven't seen it in action), but I'd prefer that Street Vector Layer just showed me the roads based on their types. WME Color Highlights already has an option to add the intimidating black line...
Timbones
Coordinators
Coordinators
Posts: 7147
Answers: 2
Has thanked: 886 times
Been thanked: 2725 times
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
herrchin wrote:I have two bugfixes, and I also made some customizations that USA editors may like, as it is geared towards common USA speeds, and also tweaks the label visibility a bit.
Will this work for us in the UK as well?
We use imperial units too, and would benefit from a larger separation of colours for limits that are only 10 mph different. However, common speed limits here are all multiples of 10, i.e. 20, 30, 40, 50, etc.
Timbones
Coordinators
Coordinators
Posts: 7147
Answers: 2
Has thanked: 886 times
Been thanked: 2725 times
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Timbones
jchiarav wrote:Hi. Where is the configuration option? Thanks.
At the bottom where it says "Street Vector Layer".

Sent from my Wileyfox Swift using Tapatalk
Timbones
Coordinators
Coordinators
Posts: 7147
Answers: 2
Has thanked: 886 times
Been thanked: 2725 times
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries