fix: increase super zoom multiplier from 2.5x to 5.0x for Gibraltar

Gibraltar is only 0.08px wide and needs extreme magnification.
Previous multiplier of 2.5x only achieved ~48x zoom, which was
insufficient to make Gibraltar visible and clickable.

New calculation:
- Base adaptive zoom: ~19x (based on size + density)
- Super zoom multiplier: 5.0x
- Result: ~95-120x zoom for Gibraltar

This should make Gibraltar clearly visible in the magnifier at
maximum super zoom.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-11-19 10:37:56 -06:00
parent 07fe9e882c
commit 138e6c071b
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ export function MapRenderer({
// Configuration
const HOVER_DELAY_MS = 500 // Time to hover before super zoom activates
const QUICK_MOVE_THRESHOLD = 50 // Pixels per frame - exceeding this cancels super zoom
const SUPER_ZOOM_MULTIPLIER = 2.5 // Super zoom is 2.5x the normal adaptive zoom
const SUPER_ZOOM_MULTIPLIER = 5.0 // Super zoom is 5x the normal adaptive zoom (for Gibraltar!)
const SUPER_ZOOM_SIZE_THRESHOLD = 3 // Activate super zoom for regions smaller than this (in pixels)
const MAX_ZOOM_NORMAL = 24 // Maximum zoom in normal mode
const MAX_ZOOM_SUPER = 120 // Maximum zoom in super zoom mode (for Gibraltar!)