hosuaby / Leaflet.SmoothMarkerBouncing

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

setBouncingOptions is not a function #20

Closed LeChatNoir69 closed 3 years ago

LeChatNoir69 commented 5 years ago

Hi,

I try to use your plugin on my joomla website but I can't make it run. Console display "setBouncingOptions is not a function"...

Here it is : https://climbingaway.fr/maquette/fr/sites-escalade/les-20-sites-autour-de-chez-toi

Could you see something wrong ? I can't fid the issue. The leaflet.smoothmarkerbouncing.js script is loaded (in a script merge by Joomla) but it seems that the leaflet class is not surcharge by your plugin..

hosuaby commented 3 years ago

Hello, @LeChatNoir69

Sorry for a late response. I think this issue is no longer relevant so I will close it.

Concerning that problem. Probably plugin was not properly imported. Need to see how was it added to the page and what are the other imported scripts.

If it still relevant, you can post your code here so I can help to understand.