OSM编辑器ID安装

来源:互联网 发布:求抢票软件 编辑:程序博客网 时间:2024/05/18 03:43

1.下载id编辑器代码:https://github.com/naturalatlas/iD.git;

2.cd id文件夹;

3.执行node命令:

npm install;

npm run all;

npm start;

4.本地访问:

http://localhost:8080


备注:如果想自己通过osm的编辑器id做地图编辑开发,则直接copy dist文件夹下的所有文件到项目中即可,为了方便大家自己研发,我这里已经copy出来放到了git上:

https://github.com/xiashenbao/mapOnline.git