CloudMade/Leaflet — pull request #617 by runderwood (2012-04-01 19:52:35+00:00)
Title: Added Conditional in Circle.js to Prevent Exceptions

L.GeoJSON.prototype.clearLayers() results in fatal exceptions in Circle.js. I added a check for this._map. If it's not there, it returns false and everybody can go on about their business.