Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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 milkboy
New test version: 1.6-alpha3

The short changelog is:
  • Added style for restricted turn
  • Filtering out all >45° turns in BC
  • lots of other changes.. Can't remember all ;)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
SuperDave1426 wrote:Just out of curiosity, is this going to be deemed "stable" enough for the Chrome store anytime soon? :D
Meh. Was totally sure I published it already =/ Oh well.. Should be available "soon".
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
SuperDave1426 wrote:Unfortunately, the native Chrome version of 1.6 doesn't seem to work. I can put in any number of decimal places, and it still just gives me a whole (integer) number when showing an angle. It also seems to ignore the size feature if I turn that on. Yes, I hit "apply." :-) And when I refresh the page and check again, everything I selected under the JAI settings resets back to default values.

The one you linked to that runs under Tampermonkey that you link to here seems to run fine and remember my settings.
Meh. Something strange with local storage it seems. I'll see if I can it fixed tomorrow.
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Should be fixed now. (Well.. "works for me" anyway)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
voludu2 wrote:The JAI settings seem to be working for me in the native Chrome version.
Chrome Version 40.0.2214.94 m
If I enable the Native Chrome version from the Chrome store
* If I start a browser window with nothing selected, or with a segment PL, I get the behavior I would expect -- I see the JAI tab when I have no objects selected, after the Toolbox tab.
* If I start a browser window with a places permalink, I see the JAI tab with the other places tabs (General|More|photos|JAI). But after I click somewhere else on the screen, I never see the JAI tab again, even if I select the same place again. https://www.waze.com/editor/?env=usa&lo ... 792.621033)

If I disable the native Chrome version and enable the tamper monkey version
Junction Angle Information seems to load but not work -- I see the layer in the layers menu, but don't see the angles when I select a segment, and I never see the JAI tab.
Tampermonkey 3.9.202
Ah. Never tried with places permalink. The object model is probably different then. I'll check that :)

I'll also check the Tampermonkey issue (never checked that since I reinstalled all operating systems) [emoji17]
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
OK. I've managed to fix the permalink (with selected segment(s)) issues: settings tab content not showing up and "angles not showing up". Tampermonkey issue next, and then I'll make a new release =)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
milkboy wrote:OK. I've managed to fix the permalink (with selected segment(s)) issues: settings tab content not showing up and "angles not showing up". Tampermonkey issue next, and then I'll make a new release =)
Hmm.. Works fine for me (both Chrome+Tampermonkey and Firefox+Greasemonkey). Just make sure you have a "recent" (1.6.1+) version of the script, with the correct update URL: https://github.com/milkboy/WME-ja/raw/m ... le.user.js

Previously the update url was pointing to userscripts.org, which has not been working for quite some time.
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
SuperDave1426 wrote: (Side question: How automatic does using github make the update process when using it as your source for Greasemonkey/Tempermonkey? When you update the script there, will Greasemonkey/Tampermonkey know to update the script automatically?)
The @updateURL points to the current master branch, so it should "just work". The possible downside is that it's always going to update to the latest (committed) development version, which usually should work though.
SuperDave1426 wrote: Something you might want to consider is to put it on greasyfork.org. A lot of script authors who used to use userscripts.org are using that now, and a lot of people who are just going straight to a source to look for user scripts who used to use userscripts.org are now searching greasyfork.org for those scripts. There are quite a few WME scripts already there.

Just a thought, anyway. :-)
Maintaining the code in several places is a pain-in-the-***, but I'll check it out =)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Added script on greasyfork also for completeness. The support for web hooks to update was a pleasant surprise =)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Hmm.. No idea actually. Need to check
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png