Closed awerner25 closed 2 years ago
I found the solution, I have to specify the size of the icons (which is not mandatory for the leaflet library)
Hello @darkvodka Great that you found solution so fast. Yes, in order to calculate frames of animations, this plugin need to know the size of icon. If you use default Leaflet icons, its size is defined already. In case someon else will have this trouble, I leave here an example with default and customs icons: https://github.com/hosuaby/Leaflet.SmoothMarkerBouncing/blob/gh-pages/resources/scripts/app.js
Hello,
I just add your library and I have an error.
Error:
If I remove
{icon: icons[location.category.pk]}
, it's works