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

Waze SDK

Post by CitizenTraffic
I was wondering, more like hoping, if there is a "formal" SDK or manual available for the Waze editing environment. I would like to create a script or two but have found very little information about accessible tables, variables, formats, permissions, etc., let alone any instructions.

Would appreciate a little direction. Thanks.
CitizenTraffic
Posts: 78
Has thanked: 97 times
Been thanked: 21 times

POSTER_ID:17063191

1

Send a message

Post by Glodenox
Twister-UK describes it very well indeed :) Rickzabel has made a library userscript that can help with certain often occurring tasks for userscript authors, but that's only a very small part of creating an actual userscript.

A full-fledged SDK doesn't seem likely to be made and I personally even think it would be unnecessary. Most information is quite easily accessible already in the WME, so the added value wouldn't be that high.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1565
Answers: 1
Has thanked: 278 times
Been thanked: 940 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png

Post by james890526
Nice way how you word it Twister-UK. This will greatly reduce the fatality rate of script editors trying to bash their heads :D
james890526
Waze Local Champs
Waze Local Champs
Posts: 308
Has thanked: 61 times
Been thanked: 42 times
Send a message
Best regards,
Lee Zhong Zhen
Local Champ - Malaysia



Waze Malaysia http://i.imgur.com/RVOq2tk.png https://i.imgur.com/6Rk8oL5.png https://i.imgur.com/vk73Muu.png

Post by Timbones
There's also this library script, although I've not tried it myself:
viewtopic.php?f=819&t=173986
Timbones
Coordinators
Coordinators
Posts: 7357
Answers: 2
Has thanked: 952 times
Been thanked: 2916 times
Send a message
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Scripts: WME Colour HighlightsWME Route TesterWME Geometries

Post by Twister-UK
Given Waze's official stance on scripts (I.e they don't mind them, but won't do anything to help support them) the chances of there ever being an official SDK is pretty much zero. And given how quickly stuff is changed from one major WME release to the next, it'd be a pretty major undertaking for anyone to attempt to collate/maintain an unofficial SDK.

So the only real way to learn what you need is by picking your way through the native DOM and script source using whatever debug tools your browser provides (the developer console in Chrome, the Firebug extension in Firefox etc), reading the source code of other scripts to get some ideas and inspiration, asking other script writers for advice, and lots, lots, lots of time spent experimenting with stuff, most of which will just leave you going round in circles or bashing your head against the nearest solid object in frustration, but occasionally which will result in a thing of beauty emerging that does just what you want it to. And when that happens, the satisfaction you feel will be worth every bit of coding hell it took you to get there...

...until Waze goes and rewrites whichever bits of WME you've hooked into, and you have to figure things out all over again. Welcome to the utterly infuriating yet utterly compelling world of WME scripting ;)
Twister-UK
Waze Local Champs
Waze Local Champs
Posts: 4671
Answers: 2
Has thanked: 736 times
Been thanked: 4686 times
Send a message
Chris (not to be confused with Chris or Chris, or even Tim, Stu, or any of the other champs team...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork


https://chizzum.com/greasemonkey/images/beta.pnghttps://chizzum.com/greasemonkey/images/s0400.pnghttps://chizzum.com/greasemonkey/images/c5s.png