Continents
Download (49 KB)
To render the map use the following code:
$('#map').vectorMap({map: 'continents_mill'});
Download (50 KB)
To render the map use the following code:
$('#map').vectorMap({map: 'continents_merc'});
Codes
1 | AF | Africa |
2 | NA | North America |
3 | OC | Oceania |
4 | AS | Asia |
5 | EU | Europe |
6 | SA | South America |
Processor config
[{
"name": "read_data",
"file_name": "ne_110m_admin_0_countries_lakes/ne_110m_admin_0_countries_lakes.shp",
"filter": "continent != \"Antarctica\" AND continent != \"Seven seas (open ocean)\"",
"longitude0": 11.5
},{
"name": "join_data",
"data": [
["Africa", "AF"],
["Asia", "AS"],
["Europe", "EU"],
["North America", "NA"],
["South America", "SA"],
["Oceania", "OC"]
],
"fields": [{
"name": "continent",
"type": 4,
"width": 100
},{
"name": "cont_code",
"type": 4,
"width": 4
}],
"on": "continent"
},{
"name": "union",
"by": "cont_code"
},{
"name": "remove_other_fields",
"fields": ["continent", "cont_code"]
},{
"name": "write_data",
"format": "jvectormap",
"params": {
"code_field": "cont_code",
"name_field": "continent",
"name": "continents"
}
}]
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.