fix position not being saved on zoom
This commit is contained in:
		@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user