terikon / marker-animate-unobtrusive

Google Maps markers become animated, unobtrusively
MIT License
222 stars 52 forks source link

support for Ionic 5 #36

Open Guuh86 opened 4 years ago

Guuh86 commented 4 years ago

I am trying to use it in a screening application for school buses in my city. Everything is ok with importing the project but it just doesn't work for me.

This is the part of the code:

addMarker(updatelocation, image) { let marker = new SlidingMarker({ map: this.map, position: updatelocation, icon: image, }); marker.setDuration(1000); marker.setEasing('linear'); this.markers.push(marker); }