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
Explain better, who are those 'some people'? You? :)

Inviato dal mio LG-D620 utilizzando Tapatalk
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

Post by bedo2991
They go either up or down in a "random" way, to try to reduce the problem in regular grids. If they all go to the same direction they will be overlapped more easily.
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

Post by bedo2991
It works fine on Firefox 39.0 on Windows 8.1, Greasemonkey 3.2
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

Post by bedo2991
Thanks, I've deployed a possible fix for that problem in
Version 0.9
  • Bug Fixes
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

Post by bedo2991
PesachZ wrote:Oh and on more not as important, the option to customize the labels color and stroke?
Thanks for the suggestions. Could you please elaborate a little bit more this one?
For every street type you want to be able to set a different color other than the colour of the street or you want the possibility to have all of the them of a given colour? (All black or all white or a specified colour).
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

Post by bedo2991
Version 1.0
  • Moving the labels' sliders completely to the right won't make label appear at all.
  • Bug fixes (used to happen when merging/splitting segments).
bedo2991
Waze Global Champs
Waze Global Champs
Posts: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

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 954 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: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

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: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

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: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message

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: 2385
Answers: 2
Has thanked: 237 times
Been thanked: 627 times
Send a message