fix position not being saved on zoom
This commit is contained in:
parent
85ee9a1209
commit
e7b52dd2eb
@ -95,7 +95,7 @@ window.setupMap = function() {
|
|||||||
// listen for changes and store them in cookies
|
// listen for changes and store them in cookies
|
||||||
map.on('moveend', window.storeMapPosition);
|
map.on('moveend', window.storeMapPosition);
|
||||||
map.on('zoomend', function() {
|
map.on('zoomend', function() {
|
||||||
window.storeMapPosition;
|
window.storeMapPosition();
|
||||||
|
|
||||||
// remove all resonators if zoom out to < RESONATOR_DISPLAY_ZOOM_LEVEL
|
// remove all resonators if zoom out to < RESONATOR_DISPLAY_ZOOM_LEVEL
|
||||||
if(isResonatorsShow()) return;
|
if(isResonatorsShow()) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user