springmeyer / arc.js

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

Remove invalid parameters from CircleMarker constructor. #7

Closed matt-glover closed 12 years ago

matt-glover commented 12 years ago

Fixes issue #6. Removes the extra parameter.

It's possible the intention was to provide the number 2 as an option for the weight parameter. However 2 is the default weight today so I opted not to include it in the pull request.

springmeyer commented 12 years ago

thanks, was this causing some visible problem or error?

matt-glover commented 12 years ago

Nothing major. Just wasn't setting the specified options since 2 was being passed in place of the option hash. So the circles stayed blue instead of red and had the default opacity.