We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @ewoken
I am using your plugin in ionic v1 project. How can I use the events (start, end, loop)? I am using this code:
leafletData.getMap('app-map').then( function(map) { // more code here ... var trolleyIcon = L.icon({iconUrl: 'http://www.freeiconspng.com/uploads/bus-icon-10.png',iconSize:[64,64]}); trolley = L.Marker.movingMarker(routeTest,[2000],{type:'trolley',icon:trolleyIcon}).bindPopup( 'This is the Trolley!' ).addTo(map); trolley.start(); trolley.on('start',function(e) { console.log('start event',e); }); trolley.on('end',function(e) { console.log('end event',e); }); } );
I tried:
trolley.on('end',function(e) { console.log(e); });
But nothing happen.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @ewoken
I am using your plugin in ionic v1 project. How can I use the events (start, end, loop)?
I am using this code:
I tried:
But nothing happen.
The text was updated successfully, but these errors were encountered: