diff --git a/debug/vector/vector-canvas.html b/debug/vector/vector-canvas.html index b82299c0..9e82c67a 100644 --- a/debug/vector/vector-canvas.html +++ b/debug/vector/vector-canvas.html @@ -37,9 +37,13 @@ fillOpacity: 0.7 }; - var circle = new L.Circle(circleLocation, 500000, circleOptions); - map.addLayer(circle); + var circle = new L.Circle(circleLocation, 500000, circleOptions), + circleMarker = new L.CircleMarker(circleLocation, {fillColor: 'blue', fillOpacity: 1, stroke: false}); + + map.addLayer(circle).addLayer(circleMarker); + circle.bindPopup('I am a circle'); + circleMarker.bindPopup('I am a circle marker'); map.addLayer(path); path.bindPopup('I am a polyline'); diff --git a/dist/leaflet.js b/dist/leaflet.js index 5b90fac7..1828d83d 100644 --- a/dist/leaflet.js +++ b/dist/leaflet.js @@ -78,7 +78,7 @@ this.fire("click",a)}});L.Polyline=L.Path.extend({initialize:function(a,b){L.Pat a;this._redraw();return this},addLatLng:function(a){this._latlngs.push(a);this._redraw();return this},spliceLatLngs:function(){var a=[].splice.apply(this._latlngs,arguments);this._redraw();return a},_getPathPartStr:function(a){for(var b=L.Path.VML,c=0,d=a.length,e="",f;ca.y!=e.y>a.y&&a.x<(e.x-d.x)*(a.y-d.y)/(e.y-d.y)+d.x&&(b=!b)}return b}});(function(){function a(a){return L.FeatureGroup.extend({initialize:function(c,d){this._layers={};for(var e=0,f=c.length;e