Merge pull request #13894 from vvlladd28/bug/map-widgets/close-tooltip

Map widget tooltip no longer closes when hovering from overlay to tooltip
This commit is contained in:
Igor Kulikov 2025-08-20 20:02:49 +03:00 committed by GitHub
commit bb7fa164dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,9 @@ export const createTooltip = (map: TbMap<any>,
}
}
});
layer.on('mousemove', (e) => {
tooltip.setLatLng(e.latlng);
});
layer.on('mouseout', () => {
tooltip.close();
});