WME Fix Map Object

Temporary fix for the changes made in the WME internal data structure that breaks any script that interacts with the map

目前為 2019-10-31 提交的版本,檢視 最新版本

作者
Glodenox
評價
0 0 0
版本
0.0.1
建立日期
2019-10-31
更新日期
2019-10-31
尺寸
916 位元組
授權條款
未知
腳本執行於

Waze has decided to move the OpenLayers Map object from W.map to W.map.olMap. This script counteracts this by copying all properties from the new object to where they would be on the old object. This makes it possible to bring to live any old scripts. Possibly we could include this snippet in several of the often-used scripts should Waze go forward with this.