Denmark

Download (24 KB)

To render the map use the following code:

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

Download (25 KB)

To render the map use the following code:

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

Codes

1 DK-85 SjaƦlland
2 DK-84 Hovedstaden
3 DK-81 Nordjylland
4 DK-83 Syddanmark
5 DK-82 Midtjylland

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 = \"DK\" AND iso_3166_2 IS NOT NULL"
},{
  "name": "join_data",
  "data": [
    ["6326", "DK-82"],
    ["3564", "DK-83"],
    ["3568", "DK-81"],
    ["6325", "DK-84"],
    ["3563", "DK-85"]
  ],
  "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": "dk"
  }
}]