worldCityCoords constant

Map<String, (double, double)> const worldCityCoords

Pre-calculated SVG coordinates for major world cities.

Implementation

static const Map<String, (double, double)> worldCityCoords = {
  // North America
  'nyc': (587, 254),
  'lax': (355, 278),
  'chi': (514, 245),
  'sfo': (210, 274),
  'sea': (220, 220),
  'mia': (550, 320),
  'dfw': (435, 295),
  'tor': (545, 235),
  'van': (220, 210),
  // Europe
  'lon': (970, 159),
  'lhr': (970, 159),
  'par': (1011, 200),
  'ber': (1068, 180),
  'mad': (980, 238),
  'rom': (1063, 231),
  'ams': (1023, 175),
  'fra': (1044, 192),
  'sto': (1095, 145),
  'war': (1105, 175),
  'mil': (1050, 210),
  // Asia
  'tyo': (1694, 275),
  'sin': (1566, 478),
  'hkg': (1562, 336),
  'sel': (1615, 261),
  'mum': (1373, 357),
  'dxb': (1294, 332),
  // Oceania
  'syd': (1785, 707),
  'mel': (1744, 559),
  // South America
  'sao': (665, 508),
  'bue': (618, 540),
  'bog': (504, 421),
  'scl': (490, 540),
  // Africa
  'jnb': (1141, 512),
  'cpt': (1095, 540),
};