Closed andesim closed 6 years ago
1) Make sure you are imported both Leaflet and import 'leaflet'; import 'leaflet.smooth_marker_bouncing/leaflet.smoothmarkerbouncing.js' in current file or globally
import 'leaflet';
import 'leaflet.smooth_marker_bouncing/leaflet.smoothmarkerbouncing.js';
2) You forgot .addTo(map)
before .bounce()
I receive this error: Uncaught (in promise) TypeError: (intermediate value).bounce is not a function