Script authors: W.map API changed
As you may have noticed, many scripts are currently broken. The reason for this is the removal of various methods that used to be available in the W.map object. This object gives access to the OpenLayers instance used to draw the Waze map. As you may expect, this is one of the key sections of the WME used by a lot of scripts.
Several of the most common methods remain available, but several others are now hidden away. It is however still possible to access these methods by using W.map.getOLMap().
As a temporary workaround to make "outdated" and old scripts work again, I've created a little userscript that copies over all methods from the W.map.getOLMap object, unless they still exist: https://greasyfork.org/scripts/391783-w ... map-object This will probably work best if the script is executed before the other userscripts.
Several of the most common methods remain available, but several others are now hidden away. It is however still possible to access these methods by using W.map.getOLMap().
As a temporary workaround to make "outdated" and old scripts work again, I've created a little userscript that copies over all methods from the W.map.getOLMap object, unless they still exist: https://greasyfork.org/scripts/391783-w ... map-object This will probably work best if the script is executed before the other userscripts.
Re: Script authors: W.map API changed