openlayers版本更新差别
文档:
Openlayers-v3.20.1-APIdoc:
Openlayers-v6.15.1-APIdoc:
最近开发npm安装包版本
Openlayer-latest-6:
“ol”: “^6.4.3”,
“ol-layerswitcher”: “^3.8.3”,
版本更新接口问题:
1.
Is it useful about openlayers6 use ol.inherits?
2.


3.


4.
where can i find the difference of openlayers apidoc between old version and latest version? for example v-3.20.1 and v-6.15.1.
小tips:
推荐使用~,只会修复版本的bug,比较稳定
使用^ ,有的小版本更新后会引入新的问题导致项目不稳定,比如:之前的weex老项目安装依赖后页面无法显示,修改依赖版本后才正常。
使用*, 同样有上述问题。