hugobarragon / leaflet-drift-marker

A marker that can drift its way to a new position
MIT License
28 stars 9 forks source link

drift_marker is not a constructor #6

Closed wajahataliawan closed 3 years ago

wajahataliawan commented 3 years ago

i am using drift_marker but facing issue while i using these line of code. marker = new Drift_Marker([Arrlat[0], Arrlng[0]], { draggable: true, title: "Resource location", alt: "Resource Location", riseOnHover: true }).addTo(map) .bindPopup("test").openPopup();

please consider.

hugobarragon commented 3 years ago

Hi, @wajahataliawan please provide a reproducible link, you can use this template, and upload here the error logs https://codesandbox.io/s/static-bcdhq?fontsize=14