rubenspgcavalcante / leaflet-ant-path

🌿🐜 Creates a leaflet polyline with a 'ant-path' animated flux
http://rubenspgcavalcante.github.io/leaflet-ant-path
MIT License
467 stars 80 forks source link

bringToFront and bringToBack not working on many ant path #91

Open Jarek-Ch opened 5 years ago

Jarek-Ch commented 5 years ago

Type:

Environment:

I'm going to open a PR:

Description: If you create several ant paths in the project, then using the bringToFront or bringToBack function does not affect the order of the layers.

Jarek-Ch commented 5 years ago

If i use ordinary paths, everything works fine.