Skip to content

Instantly share code, notes, and snippets.

@pampels
Last active October 4, 2024 12:52
Show Gist options
  • Save pampels/1b3345175f541eeee753 to your computer and use it in GitHub Desktop.
Save pampels/1b3345175f541eeee753 to your computer and use it in GitHub Desktop.
jVectorMap Country Codes and Coordinates
var jvmCountries = {
"AF": {"name": "Afghanistan", "coords": [33, 65]},
"AL": {"name": "Albania", "coords": [41, 20]},
"DZ": {"name": "Algeria", "coords": [28, 3]},
"AO": {"name": "Angola", "coords": [-12.5, 18.5]},
"AR": {"name": "Argentina", "coords": [-34, -64]},
"AM": {"name": "Armenia", "coords": [40, 45]},
"AU": {"name": "Australia", "coords": [-27, 133]},
"AT": {"name": "Austria", "coords": [47.3333, 13.3333]},
"AZ": {"name": "Azerbaijan", "coords": [40.5, 47.5]},
"BS": {"name": "Bahamas", "coords": [24.25, -76]},
"BD": {"name": "Bangladesh", "coords": [24, 90]},
"BY": {"name": "Belarus", "coords": [53, 28]},
"BE": {"name": "Belgium", "coords": [50.8333, 4]},
"BZ": {"name": "Belize", "coords": [17.25, -88.75]},
"BJ": {"name": "Benin", "coords": [9.5, 2.25]},
"BT": {"name": "Bhutan", "coords": [27.5, 90.5]},
"BO": {"name": "Bolivia", "coords": [-17, -65]},
"BA": {"name": "Bosnia and Herz.", "coords": [44, 18]},
"BW": {"name": "Botswana", "coords": [-22, 24]},
"BR": {"name": "Brazil", "coords": [-10, -55]},
"BN": {"name": "Brunei", "coords": [4.5, 114.6667]},
"BG": {"name": "Bulgaria", "coords": [43, 25]},
"BF": {"name": "Burkina Faso", "coords": [13, -2]},
"BI": {"name": "Burundi", "coords": [-3.5, 30]},
"KH": {"name": "Cambodia", "coords": [13, 105]},
"CM": {"name": "Cameroon", "coords": [6, 12]},
"CA": {"name": "Canada", "coords": [60, -95]},
"CF": {"name": "Central African Rep.", "coords": [7, 21]},
"TD": {"name": "Chad", "coords": [15, 19]},
"CL": {"name": "Chile", "coords": [-30, -71]},
"CN": {"name": "China", "coords": [35, 105]},
"CO": {"name": "Colombia", "coords": [4, -72]},
"CG": {"name": "Congo", "coords": [-1, 15]},
"CR": {"name": "Costa Rica", "coords": [10, -84]},
"HR": {"name": "Croatia", "coords": [45.1667, 15.5]},
"CU": {"name": "Cuba", "coords": [21.5, -80]},
"CY": {"name": "Cyprus", "coords": [35, 33]},
"CZ": {"name": "Czech Rep.", "coords": [49.75, 15.5]},
"CI": {"name": "Côte d'Ivoire", "coords": [8, -5]},
"CD": {"name": "Dem. Rep. Congo", "coords": [0, 25]},
"KP": {"name": "Dem. Rep. Korea", "coords": [40, 127]},
"DK": {"name": "Denmark", "coords": [56, 10]},
"DJ": {"name": "Djibouti", "coords": [11.5, 43]},
"DO": {"name": "Dominican Rep.", "coords": [19, -70.6667]},
"EC": {"name": "Ecuador", "coords": [-2, -77.5]},
"EG": {"name": "Egypt", "coords": [27, 30]},
"SV": {"name": "El Salvador", "coords": [13.8333, -88.9167]},
"GQ": {"name": "Eq. Guinea", "coords": [2, 10]},
"ER": {"name": "Eritrea", "coords": [15, 39]},
"EE": {"name": "Estonia", "coords": [59, 26]},
"ET": {"name": "Ethiopia", "coords": [8, 38]},
"FK": {"name": "Falkland Is.", "coords": [-51.75, -59]},
"FJ": {"name": "Fiji", "coords": [-18, 175]},
"FI": {"name": "Finland", "coords": [64, 26]},
"TF": {"name": "Fr. S. Antarctic Lands", "coords": [-43, 67]},
"FR": {"name": "France", "coords": [46, 2]},
"GA": {"name": "Gabon", "coords": [-1, 11.75]},
"GM": {"name": "Gambia", "coords": [13.4667, -16.5667]},
"GE": {"name": "Georgia", "coords": [42, 43.5]},
"DE": {"name": "Germany", "coords": [51, 9]},
"GH": {"name": "Ghana", "coords": [8, -2]},
"GR": {"name": "Greece", "coords": [39, 22]},
"GL": {"name": "Greenland", "coords": [72, -40]},
"GT": {"name": "Guatemala", "coords": [15.5, -90.25]},
"GN": {"name": "Guinea", "coords": [11, -10]},
"GW": {"name": "Guinea-Bissau", "coords": [12, -15]},
"GY": {"name": "Guyana", "coords": [5, -59]},
"HT": {"name": "Haiti", "coords": [19, -72.4167]},
"HN": {"name": "Honduras", "coords": [15, -86.5]},
"HU": {"name": "Hungary", "coords": [47, 20]},
"IS": {"name": "Iceland", "coords": [65, -18]},
"IN": {"name": "India", "coords": [20, 77]},
"ID": {"name": "Indonesia", "coords": [-5, 120]},
"IR": {"name": "Iran", "coords": [32, 53]},
"IQ": {"name": "Iraq", "coords": [33, 44]},
"IE": {"name": "Ireland", "coords": [53, -8]},
"IL": {"name": "Israel", "coords": [31.5, 34.75]},
"IT": {"name": "Italy", "coords": [42.8333, 12.8333]},
"JM": {"name": "Jamaica", "coords": [18.25, -77.5]},
"JP": {"name": "Japan", "coords": [36, 138]},
"JO": {"name": "Jordan", "coords": [31, 36]},
"KZ": {"name": "Kazakhstan", "coords": [48, 68]},
"KE": {"name": "Kenya", "coords": [1, 38]},
"KR": {"name": "Korea", "coords": [37, 127.5]},
"KW": {"name": "Kuwait", "coords": [29.3375, 47.6581]},
"KG": {"name": "Kyrgyzstan", "coords": [41, 75]},
"LA": {"name": "Lao PDR", "coords": [18, 105]},
"LV": {"name": "Latvia", "coords": [57, 25]},
"LB": {"name": "Lebanon", "coords": [33.8333, 35.8333]},
"LS": {"name": "Lesotho", "coords": [-29.5, 28.5]},
"LR": {"name": "Liberia", "coords": [6.5, -9.5]},
"LY": {"name": "Libya", "coords": [25, 17]},
"LT": {"name": "Lithuania", "coords": [56, 24]},
"LU": {"name": "Luxembourg", "coords": [49.75, 6.1667]},
"MK": {"name": "Macedonia", "coords": [41.8333, 22]},
"MG": {"name": "Madagascar", "coords": [-20, 47]},
"MW": {"name": "Malawi", "coords": [-13.5, 34]},
"MY": {"name": "Malaysia", "coords": [2.5, 112.5]},
"ML": {"name": "Mali", "coords": [17, -4]},
"MR": {"name": "Mauritania", "coords": [20, -12]},
"MX": {"name": "Mexico", "coords": [23, -102]},
"MD": {"name": "Moldova", "coords": [47, 29]},
"MN": {"name": "Mongolia", "coords": [46, 105]},
"ME": {"name": "Montenegro", "coords": [42, 19]},
"MA": {"name": "Morocco", "coords": [32, -5]},
"MZ": {"name": "Mozamb", "coords": [-18.25, 35]},
"MM": {"name": "Myanmar", "coords": [22, 98]},
"NA": {"name": "Namibia", "coords": [-22, 17]},
"NP": {"name": "Nepal", "coords": [28, 84]},
"NL": {"name": "Netherlands", "coords": [52.5, 5.75]},
"NC": {"name": "New Caledonia", "coords": [-21.5, 165.5]},
"NZ": {"name": "New Zealand", "coords": [-41, 174]},
"NI": {"name": "Nicaragua", "coords": [13, -85]},
"NE": {"name": "Niger", "coords": [16, 8]},
"NG": {"name": "Nigeria", "coords": [10, 8]},
"NO": {"name": "Norway", "coords": [62, 10]},
"OM": {"name": "Oman", "coords": [21, 57]},
"PK": {"name": "Pakistan", "coords": [30, 70]},
"PS": {"name": "Palestine", "coords": [32, 35.25]},
"PA": {"name": "Panama", "coords": [9, -80]},
"PG": {"name": "Papua New Guinea", "coords": [-6, 147]},
"PY": {"name": "Paraguay", "coords": [-23, -58]},
"PE": {"name": "Peru", "coords": [-10, -76]},
"PH": {"name": "Philippines", "coords": [13, 122]},
"PL": {"name": "Poland", "coords": [52, 20]},
"PT": {"name": "Portugal", "coords": [39.5, -8]},
"PR": {"name": "Puerto Rico", "coords": [18.25, -66.5]},
"QA": {"name": "Qatar", "coords": [25.5, 51.25]},
"RO": {"name": "Romania", "coords": [46, 25]},
"RU": {"name": "Russia", "coords": [60, 100]},
"RW": {"name": "Rwanda", "coords": [-2, 30]},
"SS": {
"name": "S. Sudan"
},
"SA": {"name": "Saudi Arabia", "coords": [25, 45]},
"SN": {"name": "Senegal", "coords": [14, -14]},
"RS": {"name": "Serbia", "coords": [44, 21]},
"SL": {"name": "Sierra Leone", "coords": [8.5, -11.5]},
"SK": {"name": "Slovakia", "coords": [48.6667, 19.5]},
"SI": {"name": "Slovenia", "coords": [46, 15]},
"SB": {"name": "Solomon Is.", "coords": [-8, 159]},
"SO": {"name": "Somalia", "coords": [10, 49]},
"ZA": {"name": "South Africa", "coords": [-29, 24]},
"ES": {"name": "Spain", "coords": [40, -4]},
"LK": {"name": "Sri Lanka", "coords": [7, 81]},
"SD": {"name": "Sudan", "coords": [15, 30]},
"SR": {"name": "Suriname", "coords": [4, -56]},
"SZ": {"name": "Swaziland", "coords": [-26.5, 31.5]},
"SE": {"name": "Sweden", "coords": [62, 15]},
"CH": {"name": "Switzerland", "coords": [47, 8]},
"SY": {"name": "Syria", "coords": [35, 38]},
"TW": {"name": "Taiwan", "coords": [23.5, 121]},
"TJ": {"name": "Tajikistan", "coords": [39, 71]},
"TZ": {"name": "Tanzania", "coords": [-6, 35]},
"TH": {"name": "Thailand", "coords": [15, 100]},
"TL": {
"name": "Timor-Leste"
},
"TG": {"name": "Togo", "coords": [8, 1.1667]},
"TT": {"name": "Trinidad and Tobago", "coords": [11, -61]},
"TN": {"name": "Tunisia", "coords": [34, 9]},
"TR": {"name": "Turkey", "coords": [39, 35]},
"TM": {"name": "Turkmenistan", "coords": [40, 60]},
"UG": {"name": "Uganda", "coords": [1, 32]},
"UA": {"name": "Ukraine", "coords": [49, 32]},
"AE": {"name": "United Arab Emirates", "coords": [24, 54]},
"GB": {"name": "United Kingdom", "coords": [54, -2]},
"US": {"name": "United States", "coords": [38, -97]},
"UY": {"name": "Uruguay", "coords": [-33, -56]},
"UZ": {"name": "Uzbekistan", "coords": [41, 64]},
"VU": {"name": "Vanuatu", "coords": [-16, 167]},
"VE": {"name": "Venezuela", "coords": [8, -66]},
"VN": {"name": "Vietnam", "coords": [16, 106]},
"EH": {"name": "W. Sahara", "coords": [24.5, -13]},
"YE": {"name": "Yemen", "coords": [15, 48]},
"ZM": {"name": "Zambia", "coords": [-15, 30]},
"ZW": {"name": "Zimbabwe", "coords": [-20, 30]}
}
@Flordelitio
Copy link

Hi! so nice this plugin but, I was wondering about the coords of Singapore, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment