North America

Download (91 KB)

To render the map use the following code:

$('#map').vectorMap({map: 'north_america_mill'});

Download (105 KB)

To render the map use the following code:

$('#map').vectorMap({map: 'north_america_merc'});

Codes

1 PR Puerto Rico
2 DO Dominican Rep.
3 DM Dominica
4 LC Saint Lucia
5 NI Nicaragua
6 PA Panama
7 CA Canada
8 SV El Salvador
9 HT Haiti
10 TT Trinidad and Tobago
11 JM Jamaica
12 GT Guatemala
13 HN Honduras
14 BZ Belize
15 BS Bahamas
16 CR Costa Rica
17 US United States
18 GL Greenland
19 MX Mexico
20 CU Cuba

Processor config

[{
  "name": "read_data",
  "file_name": "ne_50m_admin_0_countries_lakes/ne_50m_admin_0_countries_lakes.shp",
  "filter": "continent = \"North America\"",
  "longitude0": -11.5
},{
  "name": "join_data",
  "data": [
    ["KOS", "XK"],
    ["SOL", "XS"],
    ["CYN", "XC"]
  ],
  "fields": [{
    "name": "sov_a3",
    "type": 4,
    "width": 10
  },{
    "name": "iso_a2",
    "type": 4,
    "width": 10
  }],
  "on": "sov_a3"
},{
  "name": "write_data",
  "format": "jvectormap",
  "params": {
    "code_field": "iso_a2",
    "name_field": "name",
    "name": "north_america"
  }
}]

Data source

This map is based on data available at http://www.naturalearthdata.com/downloads/110m-cultural-vectors/110m-admin-0-countries/. Data is in public domain.