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 8 months 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