mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
5e653b2a09c6af62845ae06e46908d9bab8eafe0
Line 14 (img) caused the entire /dist/img directory to be ignored even though it is already in git, so new images were ignored. Prefixing it with / prevents this very general rule from applying to the subdirs. The same logic applies to the other rules for top level dirs.
iD - friendly JavaScript editor for OpenStreetMap
Basics
- 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.
Participate!
- Read the project Code of Conduct and remember to be nice to one another.
- Read up on Contributing and the code style of iD.
- See open issues in the issue tracker if you're looking for something to do.
- Translate!
- Test a prerelease version of iD:
- Stable mirror of
releasebranch: http://openstreetmap.us/iD/release - Development mirror of
masterbranch: http://openstreetmap.us/iD/master
- Stable mirror of
Come on in, the water's lovely. More help? Ping jfire or bhousel on:
- OpenStreetMap US Slack
(
#devor#generalchannels) - OpenStreetMap IRC
(
irc.oftc.net, in#iDor#osm-devor#osm) - OpenStreetMap
devmailing list
Prerequisites
- Node.js version 4 or newer
gitfor your platform- Note for Windows users:
- Edit
$HOME\.gitconfig:
Add these lines to avoid checking in files with CRLF newlines[core] autocrlf = input
- Edit
- Note for Windows users:
Installation
Note: Windows users should run these steps in a shell started with "Run as administrator". This is only necessary the first time so that the build process can create symbolic links.
To run the current development version of iD on your own computer:
- Create a local
git cloneof the project, thencdinto the project folder - Run
npm install(this will run theprepublishscript that builds everything) - Run
npm start - Open
http://localhost:8080/in a web browser
For guidance on building a packaged version, running tests, and contributing to development, see CONTRIBUTING.md.
License
iD is available under the ISC License. It includes d3.js, which BSD-licensed.
Thank you
Initial development of iD was made possible by a grant of the Knight Foundation.
Description
Languages
JavaScript
94.4%
CSS
5.3%
TypeScript
0.2%