From 95d58b5e878474edc9d415be12ee85f8e49eb3f2 Mon Sep 17 00:00:00 2001 From: Mourner Date: Tue, 31 May 2011 16:11:21 +0300 Subject: [PATCH] fix regression in Circle, fixes #92 --- dist/leaflet.js | 4 ++-- src/layer/vector/Circle.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/leaflet.js b/dist/leaflet.js index d11fc9af..b90f3450 100644 --- a/dist/leaflet.js +++ b/dist/leaflet.js @@ -64,8 +64,8 @@ L.Path=L.Path.SVG||!L.Path.VML?L.Path:L.Path.extend({statics:{CLIP_PADDING:0.02} this.options.fillColor||this.options.color,this._fill.opacity=this.options.fillOpacity},_updatePath:function(){this._container.style.display="none";this._path.v=this.getPathString()+" ";this._container.style.display=""}});L.Path.include({bindPopup:function(a,b){this._popup=new L.Popup(b);this._popup.setContent(a);this.on("click",this._openPopup,this);return this},_openPopup:function(a){this._popup.setLatLng(a.latlng);this._map.openPopup(this._popup)}});L.Polyline=L.Path.extend({initialize:function(a,b){L.Path.prototype.initialize.call(this,b);this._latlngs=a},options:{smoothFactor:1,noClip:!1,updateOnMoveEnd:!0},projectLatlngs:function(){this._originalPoints=[];for(var a=0,b=this._latlngs.length;a