这三种解决方案仅在您在线时才有效:
The 谷歌图表API http://code.google.com/intl/de-DE/apis/chart/types.html#maps图表类型为“地图”
您可以通过简单的 GET 请求构建图表,因此一切都在 URL 中。结果是静态图像。
https://chart.apis.google.com/chart?cht=t&chs=440x220&chd=t:0,100,50,32,60,40,43,12,14,54,98,17,70,76,18,29&chco=FFFFFF,FF0000,FFFF00,00FF00&chld=DZEGMGAOBWNGCFKECGCVSNDJTZGHMZZM&chtm=africa&chf=bg,s,EAF7FE
如果您的数据与国家无关:您可以使用 Google Maps API 绘制彩色多边形
任何你喜欢的方式:example http://code.google.com/intl/de-DE/apis/maps/documentation/examples/polygon-simple.html。您可以通过使用来实现这一点JavaScript API http://code.google.com/intl/de/apis/maps/documentation/overlays.html#Polylines_Overview or by 覆盖kml文件 http://code.google.com/intl/de/apis/kml/documentation/kmlreference.html#polygon。最终结果是一个 google 地图,您可以将其嵌入到您的 html 页面中。