1.0.4 • Published 7 years ago
leaflet-trajectorymarker v1.0.4
Leaflet Trajectory Marker
Marker that moves and rotates.
Fork of Leaflet.MovingMaker
Usage
import "leaflet-trajectorymarker";
const myTrajectoryMarker = L.Marker
.trajectoryMarker(
[[0,0],[100,100]], // Path coords
[100], // Array of durations
{
autostart: true,
icon: iconUrl
}
)
.addTo(map);