leaflet-dvf icon indicating copy to clipboard operation
leaflet-dvf copied to clipboard

Leaflet 1.2.0 and L.Mixin.Events

Open testuserx opened this issue 7 years ago • 4 comments

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!

testuserx avatar Feb 07 '18 12:02 testuserx

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

sfairgrieve avatar Feb 07 '18 13:02 sfairgrieve

@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 avatar Mar 15 '18 00:03 sfairgrieve

@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 avatar Sep 14 '18 07:09 yetit

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

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

yetit avatar Sep 14 '18 07:09 yetit