Deprecated include of L.Mixin.Events
See original GitHub issue- I’m reporting a bug, not asking for help
- I’ve looked at the documentation to make sure the behaviour is documented and expected
- I’ve searched through the issues to make sure it’s not yet reported
- 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…)
How to reproduce
- Leaflet version I’m using: 1.2.0
- Leaflet Draw version I’m using: 0.4.12
- Browser (with version) I’m using: Chrome 60.0.3112.101
- OS/Platform (with version) I’m using: Windows 10
What behaviour I’m expecting and which behaviour I’m seeing
No warnings in the console
Minimal example reproducing the issue
https://jsfiddle.net/barbalex/87qnj1wx Check the output in the console
Seems that L.Mixin.Events
is deprecated since leaflet v1.1.0 (https://github.com/Leaflet/Leaflet/releases/tag/v1.1.0)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Deprecated include of L.Mixin.Events · Issue #425 - GitHub
I'm currently working on a small react project and getting warnings about: Deprecated include of L.Mixin.Events: this property will be removed ...
Read more >Deprecated include of L.Mixin.Events (leaflet) - Stack Overflow
I'm having a problem with leaflet. I tried to insert an ajax script in my index.php in order to add a GeoJSON file...
Read more >Fixed deprecated include of L.Mixin.Events (#21 ... - CIBioFi
Fixed deprecated include of L. Mixin. Events (#21) and updated leaflet dependency. 186db25678 - Git para CIBioFi.
Read more >Deprecated methods in L.Mixin.Events (#51) · Issues - GitLab
In my console I see some deprecation warnings by chrome browser: Deprecated include of L.Mixin.Events: this property will be removed in future ......
Read more >Not yet compatible with wordpress 5.6? - WordPress.org
Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have already created a patch for that. I have created a Pull Request #772 and waiting for the approval
@barbalex Ah yes, I made a typo. I am using leaflet 1.4.0 and leaflet draw 0.4.2. I was using the CDN from the end of the documentation which I didn’t notice appears to be quite out of date. Edit: I’ve just changed the CDN URL to be up to date and all the warnings are gone. Excellent.