基础知识
iD is a JavaScript OpenStreetMap editor.
It’s intentionally simple. It lets you do the most basic tasks while not breaking other people’s data.
It supports all popular modern desktop browsers: Chrome, Firefox, Safari, Opera, Edge, and IE11.
iD is not yet designed for mobile browsers, but this is something we hope to add!
Data is rendered with d3.js.
前提条件
Node.js version 4 or newer
安装
git clone https://github.com/openstreetmap/iD.git
cd iD
npm install cnpm --registry=https://registry.npm.taobao.org
make
npm run-script web #打开web服务 端口号为8080 http://localhost:8080/