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 bedo2991
Did you change the default color scheme for the better? It's time to show it to the world, it might become the default one in one of the next version!

How to share your settings
  • Open the preference window by clicking on the attribution bar.
  • Make sure your latest changes were saved and then click on the "Export" button at the bottom.
  • Copy the string and paste it here on the forum between "Code" tags.
For example...
"New Editor" colors scheme (for masochists only)
default.png
New Editor's Road Layer
(979.91 KiB) Downloaded 911 times

Code: Select all

{"version":"0.9","clutterCostantNearZoom":"352","clutterCostantFarZoom":"469","streets":[null,{"strokeColor":"#ffffdd","outlineColor":"#000","strokeWidth":"5","strokeDashstyle":"solid"},{"strokeColor":"#fdfaa7","strokeWidth":"6","strokeDashstyle":"solid"},{"strokeColor":"#6870c3","strokeWidth":"9","strokeDashstyle":"solid"},{"strokeColor":"#b3bfb3","strokeWidth":"6","strokeDashstyle":"solid"},{"strokeColor":"#00ff00","strokeWidth":"3","strokeDashstyle":"dash"},{"strokeColor":"#469fbb","strokeWidth":"8","strokeDashstyle":"solid"},{"strokeColor":"#69bf88","strokeWidth":"7","strokeDashstyle":"solid"},{"strokeColor":"#867342","strokeWidth":"5","strokeDashstyle":"solid"},null,{"strokeColor":"#9a9a9a","strokeWidth":"6","strokeDashstyle":"dash"},null,null,null,null,{"strokeColor":"#6fb6be","strokeWidth":"3","strokeDashstyle":"dot"},{"strokeColor":"#9a9a9a","strokeWidth":"3","strokeDashstyle":"dash"},{"strokeColor":"#beba6c","strokeWidth":"4","strokeDashstyle":"solid"},{"strokeColor":"#ffffff","strokeWidth":"4","strokeDashstyle":"dash"},{"strokeColor":"#222222","strokeWidth":"4","strokeDashstyle":"dashdot"},{"strokeColor":"#ababab","strokeWidth":"5","strokeDashstyle":"solid"}],"red":{"strokeColor":"#ff0000","strokeWidth":"6","strokeDashstyle":"solid"},"roundabout":{"strokeColor":"#111","strokeWidth":1,"strokeDashstyle":"dash"},"toll":{"strokeColor":"#29f4fc","strokeWidth":"2","strokeDashstyle":"solid"},"closure":{"strokeColor":"#ff00ff","strokeWidth":"4","strokeDashstyle":"dash"},"restriction":{"strokeColor":"#f8bf16","strokeWidth":"2","strokeDashstyle":"dash"},"arrowDeclutter":"37"}
Do you want to try it?
  • If you made any change to your preference, export them first and store them somewhere (e.g. a text file).
  • Select the whole text that makes up the new preference and copy it (CTRL+C)
  • Open the script preference window
  • Click on the "Import" button at the bottom.
  • Paste the string and click on Ok.
You don't like it and you want to go back to the previous one?
  • I hope you did a backup as I've said above
  • Import the backup you've previously done as explained in the previous section.
You don't like it and you want to go back to the default one?
  • Open the preference window
  • Click on the "Reset" button on the top
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
PesachZ wrote:Another request if you're interested. add the option for decoration on runways. WME default is white and black alternating line. This can be done in your layer with a white road color and a black dash decoration.

P.S. When will 1.0 be available for download?
Version 1.0 is already available for download since the time of the post.
Do you have any problem updating it?

I don't see why it can be useful to have a decoration on runway (that is practically a useless road type) just to make it look like the Waze one.
You can just pick another color and another pattern. Doing it will slow down the execution and I really don't think is worth it. The same goes for railroads.

At the moment runways have a bright color to detect when users use that type as a taxi Lane... Not because I want them to look nice on the map.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
Version 1.1 (requires to store the preferences to default)
  • Slider for label outline width
  • Roads layers are disabled automatically if enabled (there is an option to disable this, if you really want to).
  • When zooming out at level 0 or 1 the default road layer is displayed automatically (so that we can even see the city names), when zooming in again the vector layer comes back and the road layer gets disabled (unless you changed the option mentioned at the previous point).
Warning
  • When you want to share a permalink remember to enable the road layer again, otherwise the others will get a permalink with the road layer disabled, if they don't have this script.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
There is an extra "new line" here:

Code: Select all

"restriction": {
        "strokeColor": "#efc02e",
        "strokeWidth": "2",
        "strok
eDashstyle": "dash"
    },
This works:

Code: Select all

{
    "version": "1.0",
    "clutterCostantNearZoom": 350,
    "clutterCostantFarZoom": 410,
    "streets": [
        null,
        {
            "strokeColor": "#fefde8",
            "outlineColor": "#000",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#fdfba8",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#676ec6",
            "strokeWidth": "6",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#b3bdb5",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#b1ae9b",
            "strokeWidth": "3",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#42a1bd",
            "strokeWidth": "5",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#69c288",
            "strokeWidth": "4",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#847347",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        null,
        {
            "strokeColor": "#858585",
            "strokeWidth": "2",
            "strokeDashstyle": "dash"
        },
        null,
        null,
        null,
        null,
        {
            "strokeColor": "#86afab",
            "strokeWidth": "3",
            "strokeDashstyle": "dashdot"
        },
        {
            "strokeColor": "#6a6a6a",
            "strokeWidth": "2",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#b7bb80",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        },
        {
            "strokeColor": "#ffffff",
            "strokeWidth": "3",
            "strokeDashstyle": "dash"
        },
        {
            "strokeColor": "#ffffff",
            "strokeWidth": "3",
            "strokeDashstyle": "dashdot"
        },
        {
            "strokeColor": "#aaaaaa",
            "strokeWidth": "3",
            "strokeDashstyle": "solid"
        }
    ],
    "red": {
        "strokeColor": "#ff0000",
        "strokeWidth": "3",
        "strokeDashstyle": "solid"
    },
    "roundabout": {
        "strokeColor": "#111",
        "strokeWidth": 1,
        "strokeDashstyle": "dash"
    },
    "toll": {
        "strokeColor": "#25f5fd",
        "strokeWidth": "2",
        "strokeDashstyle": "solid"
    },
    "closure": {
        "strokeColor": "#ff0000",
        "strokeWidth": "8",
        "strokeDashstyle": "dash"
    },
    "restriction": {
        "strokeColor": "#efc02e",
        "strokeWidth": "2",
        "strokeDashstyle": "dash"
    },
    "arrowDeclutter": "10",
    "labelOutlineWidth": "3",
    "disableRoadLayers": true
}
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
Version 1.2
  • In the preference menu you can choose whether the layer should be enabled on startup or not.
  • Tunnels are slightly lighter.
  • (from the prev. version, but I forgot to write it) "Street vector layer" is added in the attribution bar.
Couldn't reproduce the "new line" problem in the exporting/importing settings.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
Olestas wrote:Hey, now this popup jumps out every editor launch :D
Thanks for reporting, it should be fixed now in 1.2.2
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
Olestas wrote:Hey, it's 1.2.5 and we get no Whats new? :D
Minor bug fix, 1 typo in the code.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
That depends on what the editor loads at different zoom levels. It's weird but that's how it works.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
Timbones wrote:I installed this for the first time, got this: (otherwise seemed to work okay)
It might be fixed in 1.2.7 (I didn't try it :mrgreen: )
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times

Post by bedo2991
I'm thinking about adding a visualization for speed limits.
Here are two options:
1) Small numbers:
small.png
Small numbers
(458.66 KiB) Downloaded 775 times
2) Big numbers:
big.png
Big Numbers
(505.72 KiB) Downloaded 775 times
What do you think about it? Any suggestion?
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2158
Answers: 1
Has thanked: 190 times
Been thanked: 585 times