Close down export properly when the sidebar is closed.
This commit is contained in:
parent
3052bd7bed
commit
48918f19dc
1 changed files with 1 additions and 1 deletions
|
@ -43,8 +43,8 @@ page << <<EOJ
|
||||||
$("viewanchor").className = "active";
|
$("viewanchor").className = "active";
|
||||||
$("exportanchor").className = "";
|
$("exportanchor").className = "";
|
||||||
|
|
||||||
|
clearBox();
|
||||||
map.events.unregister("moveend", map, mapMoved);
|
map.events.unregister("moveend", map, mapMoved);
|
||||||
box.handler.clear();
|
|
||||||
map.removeLayer(vectors);
|
map.removeLayer(vectors);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue