packages/utils/map/MapTooltip.js
@@ -38,6 +38,10 @@ move(position) { if (!this.tooltipEl || !position) return if (!this.isVisible) { this.tooltipEl.style.display = 'block' this.isVisible = true } const width = this.container?.clientWidth ?? 0 const height = this.container?.clientHeight ?? 0 if (!width || !height || position.x < 0 || position.y < 0 || position.x > width || position.y > height) {