diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/MinedMap.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js index 2df3c64..7960d96 100644 --- a/viewer/MinedMap.js +++ b/viewer/MinedMap.js @@ -185,6 +185,8 @@ window.createMap = function () { window.location.hash = makeHash(); }; + updateHash(); + map.on('moveend', updateHash); map.on('zoomend', updateHash); map.on('layeradd', updateHash); |