Portugal

Download (44 KB)

To render the map use the following code:

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

Download (44 KB)

To render the map use the following code:

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

Codes

1 PT-13 Porto
2 PT-12 Portalegre
3 PT-11 Lisboa
4 PT-10 Leiria
5 PT-08 Faro
6 PT-16 Viana do Castelo
7 PT-20 Azores
8 PT-14 Santarém
9 PT-04 Bragança
10 PT-05 Castelo Branco
11 PT-06 Coimbra
12 PT-07 Évora
13 PT-01 Aveiro
14 PT-02 Beja
15 PT-03 Braga
16 PT-09 Guarda
17 PT-15 Setúbal
18 PT-17 Vila Real
19 PT-18 Viseu
20 PT-30 Madeira

Processor config

[{
  "name": "read_data",
  "file_name": "ne_10m_admin_1_states_provinces_lakes/ne_10m_admin_1_states_provinces_lakes.shp",
  "filter": "iso_a2 = \"PT\" AND iso_3166_2 IS NOT NULL"
},{
  "name": "join_data",
  "data": [
      ["6959", "PT-15"],
      ["1322", "PT-20"],
      ["1277", "PT-30"],
      ["1329", "PT-01"],
      ["1330", "PT-10"],
      ["1331", "PT-16"],
      ["1332", "PT-02"],
      ["1333", "PT-07"],
      ["361",  "PT-08"],
      ["1325", "PT-11"],
      ["1334", "PT-12"],
      ["1335", "PT-14"],
      ["1336", "PT-03"],
      ["1337", "PT-04"],
      ["1338", "PT-05"],
      ["1339", "PT-06"],
      ["1340", "PT-09"],
      ["1341", "PT-13"],
      ["1342", "PT-18"],
      ["1343", "PT-17"]
  ],
  "fields": [{
      "name": "OBJECTID_1",
      "type": 4,
      "width": 9
  },{
      "name": "iso_3166_2",
      "type": 4,
      "width": 10
  }],
  "on": "OBJECTID_1"
},{
  "name": "write_data",
  "format": "jvectormap",
  "params": {
    "code_field": "iso_3166_2",
    "name_field": "name",
    "name": "pt",
    "left": 400,
    "insets": [{
      "codes": ["PT-20"],
      "width": 400,
      "left": 0,
      "top": 100
    },{
      "codes": ["PT-30"],
      "width": 400,
      "left": 0,
      "top": 600
    }]
  }
}]