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. Also monitors and reports the usage of these copied over properties.

作者
Glodenox
日安装量
0
总安装量
534
评分
2 0 0
版本
1.1.0
创建于
2019-10-31
更新于
2019-12-04
大小
2.7 KB
许可证
暂无
适用于

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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址