Waze SDK

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.

Moderators: Unholy, bextein, JustinS83, Glodenox

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

Postby CitizenTraffic » Wed Feb 10, 2016 10:41 pm

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.
“On a dark desert highway, cool wind in my hair. Warm smell of colitas, rising up through the air. Up ahead in the distance, I saw a shimmering light. My head grew heavy and my sight grew dim. I had to stop for the night.”

[ img ][ img ][ img ][ img ][ img ]
CitizenTraffic
State Manager
State Manager
 
Posts: 63
Joined: Mon Mar 30, 2015 8:05 pm
Location: Glendale, AZ
Has thanked: 116 times
Been thanked: 24 times

Re: Waze SDK

Postby Glodenox » Mon Feb 22, 2016 8:57 am

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.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1107
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 583 times
Been thanked: 1268 times

Re: Waze SDK

Postby james890526 » Mon Feb 15, 2016 3:30 am

Nice way how you word it Twister-UK. This will greatly reduce the fatality rate of script editors trying to bash their heads :D
Best regards,
Zhong Zhen (james890526)

[ img ][ img ][ img ][ img ]

Waze Malaysia [ img ] [ img ]
james890526
Waze Local Champs
Waze Local Champs
 
Posts: 246
Joined: Sun Jun 22, 2014 7:00 pm
Has thanked: 52 times
Been thanked: 41 times

Re: Waze SDK

Postby Timbones » Sun Feb 28, 2016 11:41 am

There's also this library script, although I've not tried it myself:
https://www.waze.com/forum/viewtopic.php?f=819&t=173986
Timbones(6) • UK Coordinator • Forum Moderator • Closure Monitor
Extensions: WME Colour HighlightsWME Route TesterWME Geometries
Timbones
Coordinators
Coordinators
 
Posts: 6941
Joined: Wed Feb 09, 2011 10:33 am
Location: York, UK
Has thanked: 1038 times
Been thanked: 2926 times

Re: Waze SDK

Postby Twister-UK » Sun Feb 14, 2016 4:45 pm

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 ;)
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


[ img ][ img ][ img ]
Twister-UK
Waze Local Champs
Waze Local Champs
 
Posts: 3688
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 603 times
Been thanked: 3473 times


Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: jm6087, Mythdraug