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

index.html example passes invalid parameters to leaflet CircleMarker constructor #6

Closed matt-glover closed 12 years ago

matt-glover commented 12 years ago

Leaflet expects a point and an options hash as parameters to the CircleMarker class. Currently the code provides this:

var circle = new L.CircleMarker(start, 2, circleOptions);

It should instead provide this:

var circle = new L.CircleMarker(start, circleOptions);
springmeyer commented 12 years ago

closed by closing #7