Page 1 of 1

Script authors: replacement of countries.top and states.top

Posted: Wed Jul 24, 2019 7:17 am
by Glodenox
Hey you awesome script writers ;)

Waze has informed us that they intend to remove the "top" attribute from W.model.countries and W.model.states in the future. They've provided us with two simple replacements: W.model.getTopCountry() and W.model.getTopState(). Both of these are already present in the production WME, so you can drop in these replacements right now!

We haven't received an exact timing of when the change will happen, but it seems likely it won't take more than a release or two.

Here's a list of scripts that I know of that use one of these properties and should be changed, but it's very likely I'm missing a script or two. I'll also send the authors of these scripts a PM to notify them of this upcoming change:
countries.top
UROverview Plus
WME Bookmarks
WME Chat addon
WME Cities Overlay
WME Color Speeds
WME Context Menu
WME Mapraid Overlays
WME Outreach Checker
WME Route Checker
WME Route Speeds (MoM fork)
WME Speedhelper
WME UR Comments-Enhanced

states.top
WME Cities Overlay
WME Color Speeds
WME Context Menu
WME Outreach Checker
WME UR Comments-Enhanced
WME Wazebar

Re: Script authors: replacement of countries.top and states.

Posted: Thu Jul 25, 2019 1:39 pm
by MapOMatic
Thanks, Tom. Route Speeds has been updated.