1、安装nvm。
nvm下载地址:
https://github.com/coreybutler/nvm-windows/releases
使用nvm-setup安装和下载nodejs:
https://www.jianshu.com/p/cbf4f76ba0bb
二、openlayers6下载
https://openlayers.org/download/
EPSG:4326 (WGS84)地理坐标系
EPSG:3857 (Pseudo-Mercator)投影坐标系,Web墨卡托=EPSG:900913(Google)
openlayers6:
https://www.cnblogs.com/youzi-xuchongyou/p/12205670.html
openlayers6加载geojson数据:
https://www.jianshu.com/p/7997a6ce4567
openlayer6josn添加事件
https://openlayers.org/en/latest/examples/hitdetect-vector.html?q=json