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.

Fejlesztő
Glodenox
Napi telepítések
0
Telepítések száma
534
Értékelések
2 0 0
Verzió
1.1.0
Létrehozva
2019.10.31.
Frissítve
2019.12.04.
Size
3 KB
Licensz
Ismeretlen
Érvényes

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.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联