UI: Fix map widget tooltip closing when hovering from overlay to tooltip (hover mode)
This commit is contained in:
		
							parent
							
								
									44e7684938
								
							
						
					
					
						commit
						c5f33ad7f6
					
				@ -56,6 +56,9 @@ export const createTooltip = (map: TbMap<any>,
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
    layer.on('mousemove', (e) => {
 | 
			
		||||
      tooltip.setLatLng(e.latlng);
 | 
			
		||||
    });
 | 
			
		||||
    layer.on('mouseout', () => {
 | 
			
		||||
      tooltip.close();
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user