leaflet-dvf
leaflet-dvf copied to clipboard
Leaflet 1.2.0 and L.Mixin.Events
Using Leaflet 1.2.0+ and Leaflet-dvf is producing warnings in console:
"Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead."
See attached screenshot of console:
Is there any solution for this?
Thanks!
Let me check on this. I think it should be an easy fix.
@testuserx I believe this should be fixed in the latest push to 1.0dev. Let me know if you still see the warning with that version.
@sfairgrieve is there a way to install 1.0dev branch as npm dependency?
UPD: Did this: npm install git://github.com/humangeo/leaflet-dvf.git#1.0dev --save Warning had gone
@sfairgrieve has this warning:
./node_modules/leaflet-dvf/dist/css/dvf.css (Emitted value instead of an instance of Error) autoprefixer: ...\node_modules\leaflet-dvf\dist\css\dvf.css:17:5: Gradient has outdated direction syntax. New syntax is like
to leftinstead of
right.
it was in 'master', and it is still in 1.0dev