Skip to content

Conversation

runderwood
Copy link

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.

mourner added a commit that referenced this pull request Apr 1, 2012
…99fdbb32dd8

Added Conditional in Circle.js to Prevent Exceptions
@mourner mourner merged commit 926ac5d into Leaflet:master Apr 1, 2012
@mourner
Copy link
Member

mourner commented Apr 1, 2012

Thanks!

mourner added a commit that referenced this pull request Apr 3, 2012
Fix for passing jake jshint #617
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants