CloudMade/Leaflet — Issue #327: How to remove GeoJSON Layer?
Author: sindre
Created: 2011-10-13 19:34:17+00:00
State: open

When trying to remove a GeoJson Layer via map.removeLayer(geoJsonLayer) the following Error occurs "Uncaught TypeError: Cannot read property '_panes' of null" The same with geoJsonLayer.clearLayers();