Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
La animación de Leaflet Ant Path se detiene al alejar

Estoy tratando de implementar la extensión Ant Path para la biblioteca de JavaScript del folleto, pero tengo dificultades para solucionar un problema con la animación. Cuando se aleja el mapa, la animación se detiene. Encontré este problema en la página de github: no hay animación cuando el zoom <=0 , pero no puedo aplicar esta solución porque estoy usando un CDN.

Aquí está mi jsfiddle donde puede ver el problema en acción: https://jsfiddle.net/yqmaztrb/

 const antpath = L.polyline.antPath(path, { "delay": 200, "dashArray": [ 10, 20 ], "weight": 4, "color": "black", "pulseColor": "#FFFFFF", "paused": false, "reverse": false, "hardwareAccelerated": true }); antpath.addTo(map);

¿Alguna idea para solucionarlo?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!