mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-02 00:15:12 +02:00
3cda5e1f7c79e4c841255830cc6929a9771a1438
Use navigator.languages preferences when available. This allows a preferred language to be set in Chrome without needing to change the primary language of the OS. This appears to only apply when iD is running outside of openstreetmap.org, as we are doing for the loggingroads.org project. When it is framed inside osm, the osm user profile language settings appear to override the browser settings. also see: https://alicoding.com/detect-browser-language-preference-in-firefox-and-chrome-using-javascript/ and http://www.w3.org/html/wg/drafts/html/master/webappapis.html#dom-navigator-languages
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, run make, 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%
