usaCityCoords constant

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

Pre-calculated SVG coordinates for major US cities.

Implementation

static const Map<String, (double, double)> usaCityCoords = {
  'nyc': (893, 185),
  'lax': (123, 340),
  'chi': (648, 195),
  'hou': (510, 420),
  'phx': (215, 355),
  'phi': (870, 210),
  'san': (505, 410),
  'sdi': (135, 365),
  'dal': (485, 380),
  'sfo': (90, 265),
  'aus': (475, 405),
  'sea': (115, 95),
  'den': (340, 260),
  'bos': (920, 155),
  'det': (720, 185),
  'mia': (840, 495),
  'atl': (730, 340),
  'msp': (545, 140),
  'was': (845, 235),
  'ord': (648, 195),
  'dfw': (485, 375),
  'las': (175, 300),
  'por': (100, 115),
  'slc': (250, 240),
};