CloudMade/Leaflet — Issue #477: remove geojson from layer
Author: dacami
Created: 2012-02-10 18:15:10+00:00
State: open

hey!
is there a way to remove geojson from a layer like addGeoJSON() for adding geojson to a layer?

my thought is that i will display only one layer at a time on the map.
and everytime the user click a reload button the geojson is removed from the layer,
then i load the new geojson in it and display it on the map.

is there a better way to do this?

greets