destroy the feature when we leave

This commit is contained in:
Christopher Schmidt 2008-04-21 23:22:08 +00:00
parent 336a80530c
commit a5509e3172

View file

@ -29,7 +29,11 @@ page << <<EOJ
if (sf) {
sf.destroy();
sf = null;
}
}
if (currentFeature) {
currentFeature.destroy();
currentFeature = null;
}
}
function startDrag() {
$("drag_box").innerHTML='Drag a box on the map to select an area';