mad-gooze / Leaflet.Arc

Leaflet.js plugin for drawing Great Circle arcs using arc.js
MIT License
45 stars 13 forks source link

It is just drawing polylines? It isn't drawing arcs? I'm confused as hell #10

Open BobbyRuby opened 4 years ago

BobbyRuby commented 4 years ago

Please help me understand wtf I'm doing wrong.

var cdpSpan = new L.Polyline.Arc(pointFrom, pointTo, { color: 'blue', weight: 2.5, opacity: 1, smoothFactor: 1, interactive: false, vertices: 200 });

mad-gooze commented 4 years ago

Hey @BobbyRuby I am sorry, I did not get your problem. Could you post a reproducible example to jsbin or some other service please?

BobbyRuby commented 4 years ago

Not really an issue per say.. when I use L.Polyline.Arc... it doesn't draw an Arc... just a polyline? Google Chrome using Windows.