Leaflet.Polyline.SnakeAnim icon indicating copy to clipboard operation
Leaflet.Polyline.SnakeAnim copied to clipboard

Animates Leaflet polylines so they creep into full length

Results 15 Leaflet.Polyline.SnakeAnim issues
Sort by recently updated
recently updated
newest added

Is this posible to add a pause/ resume/ startover button on one of your example? [https://playground-leaflet.rhcloud.com/lum/edit?html,output](url) An example would be a big help. Thank you.

Hello, first of all, thank you for the nice plugin! Here is my (big?) contribution to your plugin. Maybe you should first look the demos I've updated (and the README)....

#29 is caused by some browsers (especially Firefox from version 60-now) reporting time with a lower resolution than expected. This one-line fix ensures that `_snakeForward` will never try to move...

Snaking animation runs a few times then get following error stack: ``` leaflet-src.js:1370 Uncaught (in promise) Error: Invalid LatLng object: (NaN, NaN) at new LatLng (leaflet-src.js:1370) at Object.unproject (leaflet-src.js:1670) at...

I want to set the Map Zoom close to the first marquer before animation, and when it start, the map should follow the animated path. Is there a way to...

In leaflet API L.LayerGroup constructor don't have an option argument, so it is impossible to set custom values with the constructor. see code: https://github.com/Leaflet/Leaflet/blob/ddf8f0575e03572ff1ec561d71c14c48c08cf310/src/layer/LayerGroup.js#L21 see doc: http://leafletjs.com/reference-1.0.0.html#layergroup I tried to...

Hello, I get this following error when I try to create segment : `ERROR TypeError: Cannot read property 'latLngToContainerPoint' of null` This error is triggered by the first lines of...

Hi, Thanks for sharing this plugin. Using your example for binding the polyline ``` for (var i = 0, latlngs = [], len = data.model.length; i < len; i++) {...

After updating Leaflet to `1.1.0` I get the following error. ``` TypeError: L.Polyline._flat is not a function ``` The `_flat()` function was apparently moved from `Polyline` to `LineUtil` in this...