Das nutzt http://chart.apis.google.com/jennergruhle schrieb:Ähnlich wären dann noch:
http://www.joaoleitao.com/resources/visited-countries-map/
--- worldmap_old.incl 2018-06-18 10:53:01.142927510 +0200
+++ worldmap.incl 2018-06-18 12:34:21.049834306 +0200
@@ -1,5 +1,7 @@
##eval(
sub worldcodes {
+# Codes
+# https://en.wikipedia.org/wiki/ISO_3166-2#Subdivisions_included_in_ISO_3166-1
my(%worldmap)=(
Afghanistan => "AF",
Albania => "AL",
@@ -134,6 +136,7 @@
Moldova => "MD",
Monaco => "MC",
Mongolia => "MN",
+ Montenegro => "ME",
Montserrat => "MS",
Morocco => "MA",
Mozambique => "MZ",
@@ -181,7 +184,7 @@
'Sao Tome and Principe' => "ST",
'Saudi Arabia' => "SA",
Senegal => "SN",
- 'Serbia and Montenegro' => "YU",
+ Serbia => "RS",
Seychelles => "SC",
'Sierra Leone' => "SL",
Singapore => "SG",
@@ -213,7 +216,7 @@
Uganda => "UG",
Ukraine => "UA",
'United Arab Emirates' => "AE",
- 'United Kingdom' => "UK",
+ 'United Kingdom' => "GB",
'United States' => "US",
Uruguay => "UY",
Uzbekistan => "UZ",
@@ -234,7 +237,7 @@
$ccs{$cc}++;
}
}
- return(join("",sort(keys(%ccs))));
+ return(join("|",sort(keys(%ccs))));
}
sub StatCachesInCountries {
my($cc) = 0;
@@ -264,12 +267,14 @@
<table ##table-style##>
<tr>
<td style="background:#DCDCDC;text-align:center">
-<img width="580" height="300" alt="[World Map]" src="http://www.world66.com/myworld66/visitedCountries/worldmap?visited=##eval(
+
+<img
+src="http://chart.apis.google.com/chart?cht=map:fixed=-70,-180,80,180&chs=600x400&chf=bg,s,336699&chco=d0d0d0|3be807&chld=##eval(
worldcodes()
-)##">
+)##"
+width="600" height="400" alt="How many countries I have been to.">
<br>
-<font size="-3" color="black">Karte von <a class="infonorm" href="http://www.world66.com/">World66</a></font>
- </td>
- </tr>
-
+<font size="-3" color="black">Karte von <a class="infonorm" href="https://developers.google.com/chart/image/docs/gallery/new_map_charts">Google Map Charts</a></font>
+</td>
+</tr>
</table>