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 pvo11
PHIL-IP63 wrote:Yes and no like you can see on the picture (clic on it).
http://img11.hostingpics.net/thumbs/mini_4039713IMAGE.jpg
I see the same in WME. One closure is there the others are missing.
As my script shows the closures from the LiveMap it is working correct. The problem is in the LiveMap.
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
I use Chrome therefore I didn't notice that the script stopped working in Firefox. I will correct it.

Regarding your suggestions:
Wrapping script to an anonymous function is not necessary because this will be done by GM and the functions are not visible outside the script.

For the bootstrapping use the code recommended here:
https://wiki.waze.com/wiki/Scripts/WME_ ... otstraping
I use the same code in all my scripts and the other scripts work in FireFox therefore I think the code is OK but you are right it is not necessary here because the unsafeWindow is not used in the script.

Waiting for the Waze.map object is a good idea and I will add it to the script.
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Glodenox wrote: Any script using that will most likely end up throwing the same error in Firefox soon.
I have Firefox 43.0.1 and GM 3.6 and it doesn't throw this exception. This is probably because use have newer beta Firefox 44.0b2. I will try it.
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Version 1.3 released.
  • fix of the bootstrap code as recomended by Glodenox. It works now in Firefox 44
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
The script worked fine in FF 43 and I've replicated the problem in FF 44 beta.
In some of my others scripts I use the unsafeWindow therefore the same bootstrap cannot be used there. I'm looking for another solution because I agree with you that it could cause problems after FF 44 will be released.
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Version 1.4 released.
  • added displaying closures entered from the client that are not seen in the WME tab Closures
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Timbones wrote:Feature Request: can you show comments from users on closures? The data's all there from the Livemap...
This script shows only the lines of the closures.
For additional textual info use WME LiveMap Alerts Overlay.
I'm not sure if the user comments are shown but it will be easier to add it there.
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Version 1.5 released.
  • URL for requests changed
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Version 1.6 released.
  • Border offset set smaller
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message

Post by pvo11
Version 1.7 released.
  • Problem with start under new WME version corrected
pvo11
Map Editor - Level 5
Map Editor - Level 5
Posts: 1763
Has thanked: 263 times
Been thanked: 1014 times
Send a message