springmeyer / arc.js

great circle routes in javascript
http://springmeyer.github.io/arc.js/
BSD 2-Clause "Simplified" License
369 stars 70 forks source link

How to make a dashed or dotted curved line #24

Closed prateekgng closed 8 years ago

prateekgng commented 9 years ago

I am creating map using leaflet. I am able to draw solid curve line but could not draw dashed or dotted curve line.

Any leads would be appreciated

tmcw commented 8 years ago

This is outside the scope of arc.js, which only does the math to compute an arc. What you're looking for is the Leaflet documentation, specifically the Path options that you can provide as the second argument to the Polyline constructor.