Merge remote-tracking branch 'upstream/pull/5470'
This commit is contained in:
commit
cdcf15e7b1
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ OSM.History = function (map) {
|
||||||
page.unload = function () {
|
page.unload = function () {
|
||||||
map.removeLayer(group);
|
map.removeLayer(group);
|
||||||
map.off("moveend", update);
|
map.off("moveend", update);
|
||||||
|
map.off("zoomend", updateBounds);
|
||||||
};
|
};
|
||||||
|
|
||||||
return page;
|
return page;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue