hosuaby / Leaflet.SmoothMarkerBouncing

Smooth animation of marker bouncing for Leaflet.
BSD 2-Clause "Simplified" License
146 stars 28 forks source link

not working with leaflet-rotatedmarker #28

Closed Mellowz closed 3 years ago

Mellowz commented 3 years ago

after import "leaflet.smooth_marker_bouncing" then "setRotationAngle" function of leaflet-rotatedmarker is undefined

hosuaby commented 3 years ago

Hello, @Mellowz I checked out 'leaflet-rotatedmarker' . It's curious. How do you expect it to bounce when marker is rotated?

Shoud it make only vertical movement or move in deirection of rotation ?

Mellowz commented 3 years ago

I didn't expect to use rotate marker with bounce, but when import Leaflet.SmoothMarkerBouncing it seem function setRatation is undefined

the rotate marker is about vehicle direction, but i want to use bounce for pin place.

hosuaby commented 3 years ago

I just tested it together with leaflet-rotatedmarker. It's works perfectly. Maybe the problem is the way it import it ?