viewer: update hash on load

This commit is contained in:
Matthias Schiffer 2015-02-04 17:19:56 +01:00
parent 14c9a48563
commit 82acbeacb1

View file

@ -185,6 +185,8 @@ window.createMap = function () {
window.location.hash = makeHash();
};
updateHash();
map.on('moveend', updateHash);
map.on('zoomend', updateHash);
map.on('layeradd', updateHash);