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 Reply
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.

[Script] WME Mapraid Overlays

Post by JustinS83
WME Mapraid Overlays

Version: 2019.05.15.01

Greasyfork: https://greasyfork.org/en/scripts/38288 ... d-overlays

Description: This overlay allows the ability to display multiple mapraid overlays at one time, pulling from a single source, thus eliminating the need to install multiple overlay scripts. The mapraid list is built per country, building the list from the available KML files in the Github repository. All mapraid KML files will be separated by the country in which the mapraid is taking place, and only the available overlays for the current country in WME will be made available.

https://imgur.com/pNG9uXc.png

Select one of the available overlays and press the "+" button to add it to the overlay layer.

https://imgur.com/umWXgwg.png

Once added, you have the ability to disable the fill for the areas (only the border shows) and the ability to jump to the center of a selected area. Pressing the red "-" button will remove that mapraid overlay from your display and it will again be available in the "Available overlays" menu.

The raid area that is currently focused will display in the top bar, next to the city/state (and whatever other information is displayed up there) in the same color as the raid group. The script will try to determine if the color is too dark, thus making it difficult to read with the black background, and will put a white border on it if that is determined. This is kind of an experimental feature, so it is likely to be tweaked in the future (or completely removed).

https://imgur.com/iSixdav.png
https://imgur.com/XhRdVPJ.png

Building the mapraid KML file
To build the overlay KML file a utility was built that can be accessed here: http://wazedev.com/mapraidgenerator.html. This allows you to manually build your KML file by defining the number of areas and providing a name, coordinates (WKT format) and a color for that area. http://map.wazedev.com/ can be used to generate the coordinates, or any other WKT tool of your preference.

You can also define your areas in a Google MyMaps and import them via the mapraid generator tool. On the mapraid generator page select the "Google MyMaps Import" tab and provide the Google MyMaps link. Note that the Google MyMap must be publicly visible for the import to be successful.

Both of these methods will generate a KML file that you can then upload to the Github repository in the appropriate country folder and upon a refresh of WME it will be available in the "Available overlays" list.

Changelog:

Code: Select all

2019-05-15 - 2019.05.15.01 - Initial release
JustinS83  
Waze Global Champs
Waze Global Champs
Posts: 1463
Has thanked: 215 times
Been thanked: 2389 times

POSTER_ID:17015339

1

Send a message

Post by JustinS83
Sapozhnik wrote:
JustinS83 wrote:... you can then upload to the Github repository in the appropriate country folder and upon a refresh of WME it will be available in the "Available overlays" list.

Uploads are disabled.
File uploads require push access to this repository.

https://i.imgur.com/yGi1GzV.jpg

Yes, we don't want anyone to upload any file to the repository. If you send a pull request we can get it merged
JustinS83  
Waze Global Champs
Waze Global Champs
Posts: 1463
Has thanked: 215 times
Been thanked: 2389 times
Send a message

Post by Sapozhnik
JustinS83 wrote:... you can then upload to the Github repository in the appropriate country folder and upon a refresh of WME it will be available in the "Available overlays" list.

Uploads are disabled.
File uploads require push access to this repository.

https://i.imgur.com/yGi1GzV.jpg
Sapozhnik
Waze Global Champs
Waze Global Champs
Posts: 1130
Answers: 3
Has thanked: 45 times
Been thanked: 134 times
Send a message
Andrey,
Ukraine Waze Coordinator, GC, CM, Beta, ...
http://waze.com.ua