leaflet-trajectorymarker
v1.0.4
Published
Rotating and moving marker
Downloads
5
Readme
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);