Fix park outline coordinates + visibility

- Magic Kingdom: accurate 60-point polygon from OSM way 297428432
- All parks: adjusted boundaries for better alignment
- Increased stroke weight (3px) and opacity for visibility
- Higher fill opacity (0.15)
This commit is contained in:
2026-05-23 00:04:27 -04:00
parent 5380bf7256
commit 39b8669b21
+39 -23
View File
@@ -3153,11 +3153,27 @@
name: 'Magic Kingdom', name: 'Magic Kingdom',
color: '#8b5cf6', color: '#8b5cf6',
icon: '🏰', icon: '🏰',
// Accurate boundary from OSM (way 297428432, simplified)
coords: [ coords: [
[28.4250, -81.5840], [28.4240, -81.5775], [28.4200, -81.5765], [28.42160, -81.57667], [28.42219, -81.57734], [28.42246, -81.57747],
[28.4175, -81.5765], [28.4160, -81.5775], [28.4140, -81.5795], [28.42274, -81.57777], [28.42302, -81.57803], [28.42297, -81.57930],
[28.4130, -81.5835], [28.4160, -81.5855], [28.4200, -81.5860], [28.42256, -81.57929], [28.42266, -81.57989], [28.42270, -81.58054],
[28.4250, -81.5840] [28.42269, -81.58085], [28.42267, -81.58273], [28.42272, -81.58321],
[28.42298, -81.58365], [28.42325, -81.58403], [28.42328, -81.58422],
[28.42326, -81.58452], [28.42308, -81.58478], [28.42257, -81.58527],
[28.42153, -81.58584], [28.42098, -81.58609], [28.42072, -81.58628],
[28.42011, -81.58657], [28.41987, -81.58682], [28.41928, -81.58700],
[28.41771, -81.58699], [28.41562, -81.58696], [28.41490, -81.58696],
[28.41522, -81.58656], [28.41582, -81.58561], [28.41617, -81.58490],
[28.41630, -81.58405], [28.41625, -81.58321], [28.41621, -81.58284],
[28.41632, -81.58231], [28.41623, -81.58177], [28.41614, -81.58123],
[28.41614, -81.58104], [28.41610, -81.58093], [28.41615, -81.58077],
[28.41615, -81.58056], [28.41618, -81.58037], [28.41631, -81.58010],
[28.41646, -81.57957], [28.41631, -81.57936], [28.41633, -81.57914],
[28.41666, -81.57804], [28.41701, -81.57736], [28.41756, -81.57715],
[28.41802, -81.57693], [28.41866, -81.57663], [28.41917, -81.57639],
[28.41947, -81.57625], [28.41982, -81.57599], [28.42038, -81.57586],
[28.42086, -81.57600], [28.42105, -81.57615], [28.42160, -81.57667]
] ]
}, },
'epcot': { 'epcot': {
@@ -3165,9 +3181,10 @@
color: '#06b6d4', color: '#06b6d4',
icon: '🌍', icon: '🌍',
coords: [ coords: [
[28.3785, -81.5525], [28.3790, -81.5460], [28.3750, -81.5450], [28.3793, -81.5530], [28.3800, -81.5475], [28.3770, -81.5455],
[28.3710, -81.5460], [28.3695, -81.5490], [28.3705, -81.5525], [28.3735, -81.5448], [28.3700, -81.5460], [28.3680, -81.5490],
[28.3740, -81.5535], [28.3785, -81.5525] [28.3690, -81.5530], [28.3720, -81.5550], [28.3755, -81.5548],
[28.3793, -81.5530]
] ]
}, },
'hollywood-studios': { 'hollywood-studios': {
@@ -3175,9 +3192,9 @@
color: '#f59e0b', color: '#f59e0b',
icon: '🎬', icon: '🎬',
coords: [ coords: [
[28.3605, -81.5620], [28.3610, -81.5560], [28.3580, -81.5550], [28.3615, -81.5625], [28.3625, -81.5560], [28.3590, -81.5545],
[28.3545, -81.5555], [28.3535, -81.5585], [28.3550, -81.5615], [28.3550, -81.5548], [28.3526, -81.5578], [28.3530, -81.5620],
[28.3580, -81.5625], [28.3605, -81.5620] [28.3560, -81.5640], [28.3595, -81.5638], [28.3615, -81.5625]
] ]
}, },
'animal-kingdom': { 'animal-kingdom': {
@@ -3185,9 +3202,9 @@
color: '#22c55e', color: '#22c55e',
icon: '🌿', icon: '🌿',
coords: [ coords: [
[28.3620, -81.5945], [28.3625, -81.5870], [28.3590, -81.5860], [28.3635, -81.5955], [28.3640, -81.5870], [28.3600, -81.5850],
[28.3550, -81.5865], [28.3530, -81.5890], [28.3540, -81.5930], [28.3550, -81.5855], [28.3515, -81.5880], [28.3510, -81.5920],
[28.3570, -81.5945], [28.3620, -81.5945] [28.3530, -81.5965], [28.3580, -81.5985], [28.3635, -81.5955]
] ]
}, },
'disney-springs': { 'disney-springs': {
@@ -3195,9 +3212,9 @@
color: '#ec4899', color: '#ec4899',
icon: '🛍️', icon: '🛍️',
coords: [ coords: [
[28.3730, -81.5240], [28.3730, -81.5180], [28.3695, -81.5170], [28.3740, -81.5255], [28.3745, -81.5175], [28.3710, -81.5155],
[28.3670, -81.5180], [28.3665, -81.5215], [28.3680, -81.5240], [28.3665, -81.5170], [28.3655, -81.5215], [28.3670, -81.5255],
[28.3730, -81.5240] [28.3705, -81.5270], [28.3740, -81.5255]
] ]
}, },
'resort': { 'resort': {
@@ -3205,9 +3222,8 @@
color: '#3b82f6', color: '#3b82f6',
icon: '🏨', icon: '🏨',
coords: [ coords: [
// Pop Century / Art of Animation area [28.3530, -81.5460], [28.3530, -81.5390], [28.3470, -81.5390],
[28.3520, -81.5450], [28.3520, -81.5400], [28.3480, -81.5400], [28.3470, -81.5460], [28.3530, -81.5460]
[28.3480, -81.5450], [28.3520, -81.5450]
] ]
} }
}; };
@@ -3224,11 +3240,11 @@
Object.entries(DISNEY_PARK_OUTLINES).forEach(([key, park]) => { Object.entries(DISNEY_PARK_OUTLINES).forEach(([key, park]) => {
const polygon = L.polygon(park.coords, { const polygon = L.polygon(park.coords, {
color: park.color, color: park.color,
weight: 2, weight: 3,
opacity: 0.8, opacity: 0.9,
fillColor: park.color, fillColor: park.color,
fillOpacity: 0.12, fillOpacity: 0.15,
dashArray: key === 'resort' ? '6, 4' : null, // dashed for resort areas dashArray: key === 'resort' ? '8, 4' : null,
}).addTo(parkOutlineGroup); }).addTo(parkOutlineGroup);
// Add a label at the polygon center // Add a label at the polygon center