lifeeka / leaflet.bezier

Draws a Bézier line between two points with an animated flight object.
83 stars 13 forks source link

Import problems #7

Closed PavloKuchereshko closed 4 years ago

PavloKuchereshko commented 5 years ago

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

spmsupun commented 5 years ago

did you get the error fixed ?