humangeo / leaflet-dvf

Leaflet Data Visualization Framework
MIT License
689 stars 153 forks source link

Leaflet 1.2.0 and L.Mixin.Events #124

Open testuserx opened 6 years ago

testuserx commented 6 years ago

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:

Image of console warning

Is there any solution for this?

Thanks!

sfairgrieve commented 6 years ago

Let me check on this. I think it should be an easy fix.

sfairgrieve commented 6 years ago

@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.

yetit commented 6 years ago

@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

yetit commented 6 years ago

@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 liketo leftinstead ofright.

it was in 'master', and it is still in 1.0dev