feat: 15 named Disney resort outlines with individual labels on map
This commit is contained in:
+89
-8
@@ -3217,15 +3217,96 @@
|
||||
[28.3705, -81.5270], [28.3740, -81.5255]
|
||||
]
|
||||
},
|
||||
'resort': {
|
||||
name: 'Resort Area',
|
||||
'grand-floridian-resort': {
|
||||
name: 'Grand Floridian Resort',
|
||||
color: '#1e40af',
|
||||
icon: '🏨',
|
||||
coords: [[28.4139, -81.5903], [28.4139, -81.5858], [28.4124, -81.5843], [28.4104, -81.5843], [28.4089, -81.5858], [28.4089, -81.5903], [28.4104, -81.5908], [28.4124, -81.5908], [28.4139, -81.5903]]
|
||||
},
|
||||
'polynesian-village-resort': {
|
||||
name: 'Polynesian Village Resort',
|
||||
color: '#2563eb',
|
||||
icon: '🏨',
|
||||
coords: [[28.4072, -81.5868], [28.4072, -81.5823], [28.4057, -81.5808], [28.4037, -81.5808], [28.4022, -81.5823], [28.4022, -81.5868], [28.4037, -81.5873], [28.4057, -81.5873], [28.4072, -81.5868]]
|
||||
},
|
||||
'contemporary-resort': {
|
||||
name: 'Contemporary Resort',
|
||||
color: '#3b82f6',
|
||||
icon: '🏨',
|
||||
coords: [
|
||||
[28.3530, -81.5460], [28.3530, -81.5390], [28.3470, -81.5390],
|
||||
[28.3470, -81.5460], [28.3530, -81.5460]
|
||||
]
|
||||
}
|
||||
coords: [[28.4175, -81.5775], [28.4175, -81.5730], [28.4160, -81.5715], [28.4140, -81.5715], [28.4125, -81.5730], [28.4125, -81.5775], [28.4140, -81.5780], [28.4160, -81.5780], [28.4175, -81.5775]]
|
||||
},
|
||||
'wilderness-lodge': {
|
||||
name: 'Wilderness Lodge',
|
||||
color: '#4f46e5',
|
||||
icon: '🏨',
|
||||
coords: [[28.4110, -81.5810], [28.4110, -81.5765], [28.4095, -81.5750], [28.4075, -81.5750], [28.4060, -81.5765], [28.4060, -81.5810], [28.4075, -81.5815], [28.4095, -81.5815], [28.4110, -81.5810]]
|
||||
},
|
||||
'fort-wilderness': {
|
||||
name: 'Fort Wilderness',
|
||||
color: '#6366f1',
|
||||
icon: '🏨',
|
||||
coords: [[28.4045, -81.5740], [28.4045, -81.5695], [28.4030, -81.5680], [28.4010, -81.5680], [28.3995, -81.5695], [28.3995, -81.5740], [28.4010, -81.5745], [28.4030, -81.5745], [28.4045, -81.5740]]
|
||||
},
|
||||
'yacht-and-beach-club': {
|
||||
name: 'Yacht & Beach Club',
|
||||
color: '#1d4ed8',
|
||||
icon: '🏨',
|
||||
coords: [[28.3739, -81.5612], [28.3739, -81.5567], [28.3724, -81.5552], [28.3704, -81.5552], [28.3689, -81.5567], [28.3689, -81.5612], [28.3704, -81.5617], [28.3724, -81.5617], [28.3739, -81.5612]]
|
||||
},
|
||||
'boardwalk-inn': {
|
||||
name: 'BoardWalk Inn',
|
||||
color: '#3730a3',
|
||||
icon: '🏨',
|
||||
coords: [[28.3690, -81.5580], [28.3690, -81.5535], [28.3675, -81.5520], [28.3655, -81.5520], [28.3640, -81.5535], [28.3640, -81.5580], [28.3655, -81.5585], [28.3675, -81.5585], [28.3690, -81.5580]]
|
||||
},
|
||||
'animal-kingdom-lodge': {
|
||||
name: 'Animal Kingdom Lodge',
|
||||
color: '#2563eb',
|
||||
icon: '🏨',
|
||||
coords: [[28.3570, -81.5938], [28.3570, -81.5893], [28.3555, -81.5878], [28.3535, -81.5878], [28.3520, -81.5893], [28.3520, -81.5938], [28.3535, -81.5943], [28.3555, -81.5943], [28.3570, -81.5938]]
|
||||
},
|
||||
'saratoga-springs': {
|
||||
name: 'Saratoga Springs',
|
||||
color: '#3b82f6',
|
||||
icon: '🏨',
|
||||
coords: [[28.3725, -81.5230], [28.3725, -81.5185], [28.3710, -81.5170], [28.3690, -81.5170], [28.3675, -81.5185], [28.3675, -81.5230], [28.3690, -81.5235], [28.3710, -81.5235], [28.3725, -81.5230]]
|
||||
},
|
||||
'port-orleans-resort': {
|
||||
name: 'Port Orleans Resort',
|
||||
color: '#4f46e5',
|
||||
icon: '🏨',
|
||||
coords: [[28.3805, -81.5180], [28.3805, -81.5135], [28.3790, -81.5120], [28.3770, -81.5120], [28.3755, -81.5135], [28.3755, -81.5180], [28.3770, -81.5185], [28.3790, -81.5185], [28.3805, -81.5180]]
|
||||
},
|
||||
'old-key-west': {
|
||||
name: 'Old Key West',
|
||||
color: '#1e40af',
|
||||
icon: '🏨',
|
||||
coords: [[28.3675, -81.5160], [28.3675, -81.5115], [28.3660, -81.5100], [28.3640, -81.5100], [28.3625, -81.5115], [28.3625, -81.5160], [28.3640, -81.5165], [28.3660, -81.5165], [28.3675, -81.5160]]
|
||||
},
|
||||
'coronado-springs': {
|
||||
name: 'Coronado Springs',
|
||||
color: '#2563eb',
|
||||
icon: '🏨',
|
||||
coords: [[28.3635, -81.5775], [28.3635, -81.5730], [28.3620, -81.5715], [28.3600, -81.5715], [28.3585, -81.5730], [28.3585, -81.5775], [28.3600, -81.5780], [28.3620, -81.5780], [28.3635, -81.5775]]
|
||||
},
|
||||
'caribbean-beach': {
|
||||
name: 'Caribbean Beach',
|
||||
color: '#3b82f6',
|
||||
icon: '🏨',
|
||||
coords: [[28.3585, -81.5540], [28.3585, -81.5495], [28.3570, -81.5480], [28.3550, -81.5480], [28.3535, -81.5495], [28.3535, -81.5540], [28.3550, -81.5545], [28.3570, -81.5545], [28.3585, -81.5540]]
|
||||
},
|
||||
'pop-century---art-of-animation': {
|
||||
name: 'Pop Century / Art of Animation',
|
||||
color: '#6366f1',
|
||||
icon: '🏨',
|
||||
coords: [[28.3505, -81.5535], [28.3505, -81.5490], [28.3490, -81.5475], [28.3470, -81.5475], [28.3455, -81.5490], [28.3455, -81.5535], [28.3470, -81.5540], [28.3490, -81.5540], [28.3505, -81.5535]]
|
||||
},
|
||||
'all-star-resorts': {
|
||||
name: 'All-Star Resorts',
|
||||
color: '#1d4ed8',
|
||||
icon: '🏨',
|
||||
coords: [[28.3485, -81.5735], [28.3485, -81.5690], [28.3470, -81.5675], [28.3450, -81.5675], [28.3435, -81.5690], [28.3435, -81.5735], [28.3450, -81.5740], [28.3470, -81.5740], [28.3485, -81.5735]]
|
||||
},
|
||||
};
|
||||
|
||||
// Park outline state
|
||||
@@ -3244,7 +3325,7 @@
|
||||
opacity: 1,
|
||||
fillColor: park.color,
|
||||
fillOpacity: 0.25,
|
||||
dashArray: key === 'resort' ? '8, 4' : null,
|
||||
dashArray: ['magic-kingdom','epcot','hollywood-studios','animal-kingdom','disney-springs'].includes(key) ? null : '6, 3',
|
||||
}).addTo(parkOutlineGroup);
|
||||
|
||||
// Add a label at the polygon center
|
||||
|
||||
Reference in New Issue
Block a user