mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
4d78e80ea14db944c2ffcf7fdb9e04e6939525c2
For some elements, Firefox reports wheel deltas measured in lines (see https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode), which we need to convert to pixels. The previous routine hugely overestimated the conversion factor if the deltaY as slightly bigger (not sure where the exp function came from originally, it does not make much sense IMO). The lines-to-pixels factor does not seem to be quite consistent between different Firefox builds, but this compromise factor should be good enough, I hope. PS: Firefox on Mac OS does not report deltas as lines anymore it seems. closes #10825
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, and Edge.
- 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: https://ideditor-release.netlify.app - Development mirror of
developbranch + latest translations: https://ideditor.netlify.app
- Stable mirror of
Come on in, the water's lovely. More help? Ping Martin Raifer/tyr_asd or bhousel on:
- OpenStreetMap US Slack (
#idchannel) - OpenStreetMap Discord (
#id-and-rapidchannel) - OpenStreetMap IRC (
irc.oftc.net, in#osm-dev) - OpenStreetMap
devmailing list
Installation
Follow the steps in the how to get started guide on how to install, build and run iD locally.
License
iD is available under the ISC License. See the LICENSE.md file for more details.
iD also bundles portions of the following open source software.
- D3.js (BSD-3-Clause)
- CLDR (Unicode Consortium Terms of Use)
- editor-layer-index (CC-BY-SA 3.0)
- Font Awesome (CC-BY 4.0)
- Maki (CC0 1.0)
- Temaki (CC0 1.0)
- Röntgen icon set (CC-BY 4.0)
- Mapillary JS (MIT)
- iD Tagging Schema (ISC)
- name-suggestion-index (BSD-3-Clause)
- osm-community-index (ISC)
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%