jvectormap地图开发和制作任意国家地图

jvectormap官网上提供了世界地图和很多国家的地图,但不是所有国家的地图都有,比如沙特阿拉伯的国家地图就没有,怎么办呢?

http://www.amcharts.com/svg-maps/上下载沙特阿拉伯的SVG格式地图,然后在http://svgto.jvectormap.com/上在线转换成jvectormap所需的js文件就可以了,不过有时候在线转换会出错,具体原因我不清楚,但是可以像这样解决:1,用http://svg-edit.googlecode.com/svn/branches/stable/editor/svg-editor.html打开改SVG文件,然后再点击那个SVG图标把里面的内容全部复制到转换器里就可以了,不过名字可能有变化,手动设置一下就行。

参考资料:

https://developers.google.com/chart/interactive/docs/gallery/geomap
GeoJSON格式的地图数据文件
http://authenticgoods.co/wrapbootstrap/themes/spacelab_v1.1/map-vector.html  same google map ??

其它参考资料: 中国地图用Echarts
http://echarts.baidu.com/doc/example/map7.html
http://echarts.baidu.com/doc/example/geoJson/USA_geo.json
http://echarts.baidu.com/doc/example/map15.html

http://geojson.io/#map=5/13.923/57.063
http://geojson.org/
http://jqvmap.com/
http://jvectormap.com/

其它供研究:
Google Vector Layer
http://jasonsanford.github.io/google-vector-layers/

Google Map Engine Pro
https://www.google.com/work/mapsearth/products/mapsenginepro.html

原文地址:https://www.cnblogs.com/ymy124/p/4097034.html