I use angular 7 and installed leaflet.bezier with npm i leaflet.bezier --save and then tried to use. Since I have standard leaflet imported like import * as L from "leaflet"; so that L.bezier(...) didn't work, and I imported leaflet.bezier like import * as LB from "leaflet"; but again LB.bezier(...) was unresolvable. So how to resolve and use it, help, please
I use angular 7 and installed leaflet.bezier with
npm i leaflet.bezier --save
and then tried to use. Since I have standard leaflet imported likeimport * as L from "leaflet";
so that L.bezier(...) didn't work, and I imported leaflet.bezier likeimport * as LB from "leaflet";
but again LB.bezier(...) was unresolvable. So how to resolve and use it, help, please