[Script] UROverview Plus v3.112 (20170914)

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] UROverview Plus v3.9 (20140608)

Postby iainhouse » Sun Jun 08, 2014 11:21 pm

Twister-UK wrote:It also introduces optional custom markers for URs tagged as roadworks, as requested by iainhouse

:mrgreen: Thank you :mrgreen:

Whilst we wait, interminably, for Waze to provide editor notes, this is a great step in the right direction.
iainhouse
Country Manager
Country Manager
 
Posts: 8203
Joined: Mon Jul 23, 2012 5:16 pm
Location: on the road from London to insanity
Has thanked: 1647 times
Been thanked: 5597 times

Re: [Script] UROverview Plus v3.9 (20140608)

Postby Twister-UK » Sun Jun 08, 2014 11:00 pm

3.9 resolves the issue noted earlier by dbraughlr regarding the popup box obscuring the associated marker - when a marker is near the bottom of the screen, the popup is now placed completely above the marker if there's insufficient space to place it below as usual. It also introduces optional custom markers for URs tagged as roadworks, as requested by iainhouse - these are enabled via the new checkbox in the Misc tab.

Firefox+Greasemonkey version: https://greasyfork.org/scripts/1952-uroverview-plus-uro
Chrome Web Store version: https://chrome.google.com/webstore/deta ... mjcdghdphi
Twister-UK
Beta tester
Beta tester
 
Posts: 2738
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 409 times
Been thanked: 2418 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby jangliss » Mon Sep 12, 2016 7:41 pm

The fix for this is to validate that "name" is a type string.

Code: Select all
if ((typeof W.map.layers[i].name === 'string') && (W.map.layers[i].name.indexOf('Waze.Control.SelectHighlightFeature') !== -1)) uroRootContainer = W.map.layers[i].div.id;


This seems to take care of this issue, though I'm not sure if there are other issues hidden in the weeds that need to get similar TLC.

Edit: For clarification, this is for line 7951 in the current version (389).
jangliss
 
Posts: 89
Joined: Tue Jul 13, 2010 9:56 pm
Location: Plano, TX
Has thanked: 58 times
Been thanked: 43 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby russblau » Mon Sep 12, 2016 6:49 pm

Twister-UK wrote:It's because Waze, in their infinite wisdom, have released into production something which looks a whole lot like the previous beta version of WME, but didn't bother telling anyone (not even those of us in the beta test forum).

In other words, business as usual ....
russblau
State Manager
State Manager
 
Posts: 1255
Joined: Fri Oct 19, 2012 11:36 pm
Has thanked: 196 times
Been thanked: 532 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby cybernissart » Mon Sep 12, 2016 2:45 pm

In order to address this, as Waze introduced an undefined Layer, I modified URO+ code with following to address it. Ligne 7952

Code: Select all
      if(typeof W.map.layers[i].name != "undefined")
      {
          if(W.map.layers[i].name.indexOf('Waze.Control.SelectHighlightFeature') != -1 ) uroRootContainer = W.map.layers[i].div.id;
      }


At list it allows loading of the script, event if some layers does not seem to work anymore and prevent filtering of content (Just seen Missing Speed Limit case at least)

Other Script are also broken.
Unable to Save modifications for 1 hour now !
cybernissart
Waze Local Champs
Waze Local Champs
 
Posts: 215
Joined: Wed Jul 18, 2012 5:32 pm
Has thanked: 7 times
Been thanked: 21 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby Twister-UK » Mon Sep 12, 2016 2:36 pm

It's because Waze, in their infinite wisdom, have released into production something which looks a whole lot like the previous beta version of WME, but didn't bother telling anyone (not even those of us in the beta test forum). So the fix I'd already put in to stop this error occurring in the beta will also fix the problem now being seen in production, I just need to bring forward my plans to release the next version...
Twister-UK
Beta tester
Beta tester
 
Posts: 2738
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 409 times
Been thanked: 2418 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby ardan74 » Mon Sep 12, 2016 2:29 pm

russblau wrote:URO+ is not loading for me this morning; probably something related to the hiding of the SLURs? On Chrome with TamperMonkey; same thing happened on two different computers.


Waze broke a few scripts this morning - including validator
ardan74
 
Posts: 60
Joined: Mon May 04, 2015 12:05 am
Has thanked: 47 times
Been thanked: 9 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby russblau » Mon Sep 12, 2016 2:12 pm

URO+ is not loading for me this morning; probably something related to the hiding of the SLURs? On Chrome with TamperMonkey; same thing happened on two different computers. Console shows this:

Code: Select all
VM70:2 ERROR: Execution of script 'UROverview Plus (URO+)' failed! Cannot read property 'indexOf' of undefineduroVersion @ VM70:2
VM70:2 TypeError: Cannot read property 'indexOf' of undefined
    at uroWazeBits (eval at <anonymous> (unknown source), <anonymous>:7955:30)
    at uroRealWazeBits (eval at <anonymous> (unknown source), <anonymous>:8123:7)
    at uroInitialise (eval at <anonymous> (unknown source), <anonymous>:8212:4)
    at Object.eval (eval at <anonymous> (unknown source), <anonymous>:8766:1)
    at <anonymous>:2:297
    at uroVersion (eval at <anonymous> (unknown source), <anonymous>:2:1)
    at eval (eval at <anonymous> (unknown source), <anonymous>:3:3)
    at Object.eval (eval at <anonymous> (unknown source), <anonymous>:8769:6)
    at eval (eval at <anonymous> (unknown source), <anonymous>:8769:50)
    at <anonymous>:2:297
russblau
State Manager
State Manager
 
Posts: 1255
Joined: Fri Oct 19, 2012 11:36 pm
Has thanked: 196 times
Been thanked: 532 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby taco909 » Mon Sep 12, 2016 12:20 pm

This is Waze... you are assuming that some kind of thought and consideration to the editors is going on.
taco909
Map Editor - Level 4
Map Editor - Level 4
 
Posts: 2230
Joined: Sun Jun 01, 2014 4:05 am
Location: Los Angeles Area
Has thanked: 720 times
Been thanked: 642 times

Re: [Script] UROverview Plus v3.89 (20160825)

Postby bz2012 » Fri Sep 09, 2016 11:04 am

Perhaps it is a secrete code: they line up all the different items in a certain order and treat them as a bit stream used to encode the version number.

As the version number gets incremented, it will seem to users as if random, senseless changes are taking place and properties being omitted at random. :)
bz2012
Map Raider
Map Raider
 
Posts: 1497
Joined: Wed Nov 23, 2011 4:32 pm
Location: Baton Rouge, La
Has thanked: 1309 times
Been thanked: 280 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: n4dog