mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 01:33:03 +00:00
99d037e97f98eb205bceea59d16f005381821323
area=yes (closes #2578)
This fixes a few issues: 1. before: checked first key in applyTags and break loop, now: check all of them (this was what caused `area=yes` to be added to 'branded' presets: the first key is for these is `name` which isn't in areaKeys.) 2. add `area=yes` if user is drawing an area but the preset can be an area or a line (e.g. `barrier=city_wall`) 3. remove `area=yes` when switching to another preset
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 modern browsers. Data is rendered with d3.
Participate!
- Try out the latest stable release
- 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!
Installation
To run the current development version, fork this project and serve it locally.
If you have Python handy, just cd into the project root directory and run
python -m SimpleHTTPServer
Or, with a Mac, you can enable Web Sharing and clone iD into your website directory.
Come on in, the water's lovely. More help? Ping tmcw, jfire, or bhousel on IRC
(irc.oftc.net, in #osm-dev or #osm) or on the OSM mailing lists.
For guidance on building a packaged version, running tests, and contributing to development, see CONTRIBUTING.md.
License
iD is available under the WTFPL, though obviously, if you want to dual-license any contributions that's cool. It includes d3js, 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%
