Merge remote-tracking branch 'upstream/pull/5470'

This commit is contained in:
Tom Hughes 2025-01-05 16:17:20 +00:00
commit cdcf15e7b1

View file

@ -164,6 +164,7 @@ OSM.History = function (map) {
page.unload = function () {
map.removeLayer(group);
map.off("moveend", update);
map.off("zoomend", updateBounds);
};
return page;