Martin Raifer 4d78e80ea1 fix scrolling glitch in Firefox on Windows and Linux/Xorg
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
2025-03-03 21:06:24 +01:00
2024-09-03 19:23:21 +10:00
2025-02-05 12:00:12 +01:00
2025-03-03 13:56:25 +01:00
2021-10-23 17:50:18 +02:00
2022-02-11 18:35:38 +01:00
2025-03-03 13:46:43 +01:00
2016-03-27 14:31:15 -04:00
2023-03-06 14:01:28 +01:00
2017-07-07 15:14:57 -04:00
2023-08-16 18:18:12 +02:00
2024-09-03 19:23:21 +10:00

iD - friendly JavaScript editor for OpenStreetMap

build

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!

Come on in, the water's lovely. More help? Ping Martin Raifer/tyr_asd or bhousel on:

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.

Thank you

Initial development of iD was made possible by a grant of the Knight Foundation.

Description
No description provided
Readme 253 MiB
Languages
JavaScript 94.4%
CSS 5.3%
TypeScript 0.2%