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 blue_sunshine
Hi,

Magic Wand stopped working for me when new WME interface was rolled out. Can you, please, fix it? :)
blue_sunshine
Area Manager
Area Manager
Posts: 30
Has thanked: 18 times
Been thanked: 5 times
Send a message

Post by blue_sunshine
Works for me too. Thanks. :)
blue_sunshine
Area Manager
Area Manager
Posts: 30
Has thanked: 18 times
Been thanked: 5 times
Send a message

Post by bz2012
When WME Magic Wand is enabled, I get the following error message when I start WME:
www.waze.com says:
Unable to find appropriate control element, script is broken
However, the java console shows no error messages from Magic Wand.
WMEWAL: Initialized
VM23966:69 WME MagicWand init
VM23966:154 WME MagicWand: loading options
VM23934:135 WME LMAO: No alerts in view
VM23893:174
Puzzling.
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message

Post by bz2012
Just spent close to an hour doing a 'binary search' to figure out which extension was killing ctrl-c, keeping me from using it to copy text from various windows in WME.

I see that is is a known characteristic of magic-wand. Documented in
search.php?keywords=ctrl-c&t=118064&sf=msgonly

Might I suggest that it may be a good idea to change that default takeover of shortcut keys so that the common windows 'copy' shortcut is no longer preempted by Magic-Wand when it is installed?
Perhaps alt-c or ctrl-shift-c would be less 'intrusive' !

I strongly suggest that all script writers avoid preempting the most commonly used editing keystroke shortcuts (ctrl-c,ctrl-v, ctrl-x and ctrl-s .... and perhaps some others that slip my mind at this moment.)

I see that the 'code'

Code: Select all

   // Hotkeys
        registerKeyShortcut("WMEMagicWand_CloneLandmark", "Clone Landmark", cloneLandmark, {"C+c": "WMEMagicWand_CloneLandmark"});
        registerKeyShortcut("WMEMagicWand_OrthogonalizeLandmark", "Orthogonalize Landmark", Orthogonalize, {"C+x": "WMEMagicWand_OrthogonalizeLandmark"});
        registerKeyShortcut("WMEMagicWand_SimplifyLandmark", "Simplify Landmark", simplifySelectedLandmark, {"C+j": "WMEMagicWand_SimplifyLandmark"});
        registerKeyShortcut("WMEMagicWand_HighlightLandmark", "Highlight Landmarks", highlightLandmarks, {"C+k": "WMEMagicWand_HighlightLandmark"});
in the script seems to preempt ctrl-c and ctrl-x.

I do appreciate all the work that went into writing the script. I haven't had a chance to play with it, just installed it a few days ago with the intention of testing it, when time and opportunity presented itself and part of 'time' has been spent fighting and cursing the broken ctrl-c :)


Additional hint to anyone else having the problem: I just modified those lines by adding "//" at the beginning of them (effectively commenting out the registration of those shortcuts) and that 'fixed' the problem I have been fighting for days. :)
I can also now state that it takes close to an hour to do a binary search to narrow down the culprit when you have over 80 scripts installed. :)

PS: tried MagicWand a couple of times, After several times of being unable to find anything, something locks up WME and I have to kill the tab and restart. Maybe I broke something by adding the "//" to comment out those line. I'll give it another try when I have some spare time. For now, it is disabled in Tampermonkey.
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message
Last edited by bz2012 on Tue May 09, 2017 7:14 pm, edited 3 times in total.

Post by bz2012
I don't know what is going on. I couldn't get my 'save' button to light when I changed the lock level on segments in a PL. I tried restarting my chrome session, that wasn't my problem. Rebooting didn't fix it either.

I did a 'binary search' using the 'toggle enable' feature of Tamper Monkey and narrowed the problem down to ONE extension. Magic Wand 2.1.4. When I disable that extension, THEN I can click on things and I can change lock levels and the save button lights up.
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message

Post by bz2012
Appreciate the update but having a wierd problem:
Is there something with this latest version of WME that prevents me from selecting more than 6 segments and changing their lock level?
Tried in both WME and WME beta and when I try to change lock level on this PL, the save count doesn't change. If I unselect a segment, it works fine for the rest of them and I can then select the segment and change it.
https://www.waze.com/en-US/editor/?env= ... ,510990932
May be an extension is doing me in. :frowning: When I tried in an incognito window, with no extensions, no problem. :sob: Now for a binary search for the cause. The villain appears to be WME MagicWand 2.1.5 and it is still doing it with 2.2 installed, if I enable that extension.(edited)
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message

Post by bz2012
I keep trying to record a .mov but not getting anything when I expand my capture area large enough to get the action in.

I'll try to make some still shots and post them. I see it trimmed a bit off of the longer lines of text.
"normal situation after changing lock level, 'Save' is lighted and the enqueued change is shown."
and
"Multiple changes will enqueue but 'Save' still does not light and pressing it does nothing except show the queue"

https://cdn.discordapp.com/attachments/ ... nknown.png
https://www.waze.com/editor/?env=usa&lo ... ,510990932


When I click on any of the lock levels other than the actual current one, the whole 'line of buttons' jiggles up and down and none light. If I click on the actual current one, it lights, but the 'Save' button still does not light.

You asked for my extension list. Here it is:
WME TimerLS 0.1.3 breaks WME
load order name version
84 LiveMap UR Overlay 2.2
67 Locking Standards Tool (LST) 0.3.9
109 MMR Russia WME Requests 2.13.2.1f
91 New WME Contrast Fix 0.9
8 SearchInPM 1.32.1
23 Street Vector Layer 4.4.4
9 UROverview Plus (URO+) 3.129
40 Waze Edit Count Monitor 2018.01.07.001
78 Waze Editor Profile Enhancements 2018.01.29.01
98 Waze LiveMap Options 2017.12.22.002
70 Waze Livemap QR creator 0.5
101 Waze Map Editor - Magic 1.0.62.1519810522.94ec75a.Ω
43 WME Advanced Closures 1.8
50 WME BeenHere 0.0.93
82 WME BeenThere 2018.01.23.01
14 WME Bookmarks 0.7
5 WME center to begin-end of street 0.0.6
4 WME Chat addon 1.22
16 WME Chat Jumper :) 0.0.8
17 WME Chat Resizer and Auto Scroll 0.2.8
72 WME Clear Feed 1.2
36 WME ClickSaver 2017.12.18.001
90 WME Closure Details 1.0.3
95 WME CO BLM GIS Map 0.0.5
32 WME Color Speeds 1.2.1
34 WME Data Store - nz 0.7.2
54 WME Date Format Fix 0.1.3
80 WME DrivesData 1.0.4
10 WME FC Color Highlights 0.7.1
42 WME FC Layer 2018.03.01.001
2 WME Fix Scripts 0.1
3 WME Fix UI 2.12
47 WME Form Filler 1.3.7
41 WME GIS Buttons 1.4.1
102 WME GIS Layers 2018.03.05.001
97 WME Google Link Enhancements 2018.03.04.001
15 WME HardHats 0.5.0
99 WME HN Tool 1.40.2
103 WME HN Tool (JustinS83 fork) 2018.02.02.01
83 WME Image Overlays 1.0.1
100 WME Junction Angle Info 2.0.3
6 WME KeepMyLayers 0.4.9
64 WME LevelReset - USA 0.2.8
21 WME Live User View Overlay Plus 0.3.2-b
37 WME LiveMap Alerts Overlay (Version 2) 2.5.2.1
7 WME LiveMap closures 1.13
68 WME MagicWand 2.2
11 WME Map Nav History 0.2.9
19 WME Map Tiles Update 1.31
52 WME Maximized (Basic rickzabel edits) 0.6.6(Beta)
89 WME Me 2018.02.26.01
53 [redacted 2019.10.25]
94 WME Open Other Maps 2018.02.23.02
88 WME Page Refresh 1.0.0.4
81 WME Panel Swap 0.2.3
93 WME PL Jump 0.0.12.4
62 WME Place Harmonizer Beta 1.3.71
66 WME Place Interface Enhancements 2018.02.22.02
33 WME PlaceNames 0.81
51 WME RA Util 2018.02.27.01
28 WME Road History 1.2.2
13 WME Road Selector 1.36
26 WME Road Selector Highlights 2017.12.02.01
18 WME Route Checker 1.25
65 WME Route Speeds (MapOMatic fork) 2018.02.27.001
35 WME RTC Improvements 1.6.0
44 WME Show Alt Names screws up WME! 2.0.2.7
92 WME Simple Permalink (from WME KeepMyLayers) - fork 2017.10.27.01
49 WME Simplify Place Geometry 1.1.3
29 WME Speedhelper 0.8.9
30 WME Speedlimits 0.4.3.5
85 WME Split POI 2.1
39 WME State DOT Reports 2018.02.27.001
12 WME Tab Manager 1.3.1
56 WME True Segment Length 2018.02.22.01
46 WME UI Bugs 0.4
60 WME URComments (Stable) 1.8.8
61 WME URComments Custom List 0.0.2bz00045
104 WME URComments USA_SouthCentral 2018.02.27.01
1 WME URL Fixer 1.1
20 WME UR-MP tracking 3.7
96 WME US Government Boundaries 2018.02.27.001
57 WME US Government Boundaries (beta) 2018.02.27.001
48 WME Version Checker 1.0.2
108 WME Waze Object Fixer 0.1
69 WME Wazebar 2017.12.20.02
45 WME Wide-Angle Lens 1.3.3
77 WME Wide-Angle Lens Cities 1.0.1
75 WME Wide-Angle Lens Locks 1.1.5
74 WME Wide-Angle Lens Places 1.2.3
73 WME Wide-Angle Lens Streets 1.4.1
59 WME Zoom Level 0.2.4
110 WME-JumpMaps 3.4.6.1
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message
Last edited by bz2012 on Tue Mar 06, 2018 7:29 pm, edited 1 time in total.

Post by bz2012
wasd42 wrote:....

Probably, there is a conflict with other plugins. JustinS83 and bz2012, could you post a list of the enabled WME plugins, please? I'll try to reproduce the issue.
I appended a list of my extensions to my previous posting. The first item on the list was causing a new problem today.... No changes I made to PURs (or anything else) would show on the 'Save' button, nor would pressing that button do anything in WME. WME beta worked ok.
bz2012
Map Raider
Map Raider
Posts: 1622
Has thanked: 1970 times
Been thanked: 305 times
Send a message

Post by davielde
This is a very creative script. Thank you.

In the "Landmark Type" menu, there are numerous Undefined options at the bottom. When you select Undefined, attempting to save the venue provides an I18n translation error for the Category.
http://i.imgur.com/ARpfX0q.png
davielde
Posts: 1219
Has thanked: 454 times
Been thanked: 735 times
Send a message
https://www.waze.com/wiki/images/6/69/W ... 00k_5c.png
CM: USA
SM: Michigan, Vermont
AM: Ann Arbor, MI & Thunder Bay, ON
WME Michigan

Post by doctorkb
I thought it might have just been me that was missing this one. :(

I've found that the last thing WMEMW says to me is:

Code: Select all

Something is broken, cannot locale active editor for far too long
from line 316.

I'm just starting to see if the answer is obvious from there...

Found one thing that gets us a little closer. Updating occurrences of this:

Code: Select all

W.selectionManager.selectedItems
with this:

Code: Select all

W.selectionManager._selectedFeatures
(used in exactly the same way)

Brings us to this:

Code: Select all

Uncaught TypeError: points.clone is not a function
pointing at line 581:

Code: Select all

best = points.clone();
And now... I'm stuck.
doctorkb
Posts: 4385
Answers: 4
Has thanked: 433 times
Been thanked: 1464 times
Send a message