[Script] WME MagicWand

Sorry, what HN mode is?

House Numbers

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.

wasd42 - you have a pending merge request. These changes will prepare the script for upcoming WME changes.

Hey Justin, thanks for the request. Merged it into master, Grease Monkey updated accordingly.

Hey everyone!

I’ve posted a new update, containing an interesting feature: Right angles helper. Just hold SHIFT while editing a feature to display a helper circle that will help you to draw right angles.

Please, feel free to send me your feedback and feature requests :slight_smile:

Appreciate the update but having a wierd problem:

Good day! Thanks for your report. Could you, please, record a screencast demonstrating a problem you’re writing about or at least some screenshots? Unfortunately, I cannot reproduce the case again…

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://www.waze.com/editor/?env=usa&lon=-90.10598&lat=32.42123&zoom=6&segments=510990933,510990934,510990929,510990930,510990928,510990931,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:

What is this supposed to look like? I just get a giant orange-yellow circle and the editor slows to a crawl

LOL, apparently not like that :smiley:

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.

when i press click to start magic wand nothing happens

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.

The recent changes in WME broke the MagicWand. When I select a place, no controls of the MagicWand appear. If I click the Delete icon, appearance of the place changes, but the Save icon stays disabled. Only after I do some additional map edit (for example, change a segment geometry), the Save icon gets enabled with the counter 2. Force starting the MagicWand doesn’t change anything.

The developer console shows similar exceptions both on a place selection and a place deletion:
Uncaught TypeError: Cannot read property ā€˜length’ of undefined

Tested both on regular and beta WME, with all other add-ons disabled, Chrome on Windows 10, Israel server.

I thought it might have just been me that was missing this one. :frowning:

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

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:

W.selectionManager.selectedItems

with this:

W.selectionManager._selectedFeatures

(used in exactly the same way)

Brings us to this:

Uncaught TypeError: points.clone is not a function

pointing at line 581:

best = points.clone();

And now… I’m stuck.

wasd - you have a pending pull request which should fix the parts necessary to get the script working since the WME updates.

MagicWand is broken :frowning:

Someone will correct this script? we use it a lotThank you

It looks like @wasd42 hasn’t logged in since late April. Not sure if he’s still wazing or just on holidays.

Looks like script author has completed pull request with fixes to current problems…
let’s hope he will publish it soon to Greasy Fork