Permalink
Browse files

Remove invalid parameters from CircleMarker constructor.

  • Loading branch information...
1 parent fe72996 commit 7610510acdec0175fba8571a9652349918dd73e6 @matt-glover matt-glover committed Jun 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
View
@@ -46,13 +46,13 @@
if (len == 1) {
var start = new L.LatLng(coords[0].lat, coords[0].lon);
var circleOptions = {color: '#f03', opacity: 0.7};
- var circle = new L.CircleMarker(start, 2, circleOptions);
+ var circle = new L.CircleMarker(start, circleOptions);
map.addLayer(circle);
} else if (len == 2) {
var end = new L.LatLng(coords[1].lat, coords[1].lon);
var circleOptions = {color: '#f03', opacity: 0.7};
- var circle = new L.CircleMarker(end, 2, circleOptions);
+ var circle = new L.CircleMarker(end, circleOptions);
map.addLayer(circle);
try {

0 comments on commit 7610510

Please sign in to comment.