Leaflet.draw icon indicating copy to clipboard operation
Leaflet.draw copied to clipboard

MouseEvent.mozPressure is deprecated. MouseEvent.mozInputSource is deprecated.

Open lxregistry opened this issue 1 year ago • 1 comments

  • [x ] I'm reporting a bug, not asking for help
  • [x ] I've looked at the documentation to make sure the behaviour is documented and expected
  • [ x] I'm sure this is a Leaflet Draw code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
  • [x ] I've searched through the issues to make sure it's not yet reported

How to reproduce

MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. Util.js:15:3 MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead.

  • Leaflet version I'm using: latest
  • Leaflet Draw version I'm using:latest
  • Browser (with version) I'm using:
  • OS/Platform (with version) I'm using:
  • step 1
  • step 2

What behaviour I'm expecting and which behaviour I'm seeing

Minimal example reproducing the issue

  • [x ] this example is as simple as possible
  • [ x] this example does not rely on any third party code

Using jsfiddle or another example site.

lxregistry avatar Jun 28 '24 10:06 lxregistry

Your fiddle example is NOT using the latest versions at all.

Fiddle shows: Leaflet @ 1.02, latest version is 1.9.4 (from May 2023) Draw @ 0.4.7, latest is v 0.4.14 (from 2018)

northtron avatar Oct 17 '24 13:10 northtron

Same here with Leaflet @ 1.9.4

setop avatar Sep 21 '25 19:09 setop