Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an SVG Map library like Google Charts? [closed]

I'm looking for large-scale world maps that I can shade by country. Google Charts has an API for this but it only allows you to generate a small map (440x220 px). Does anyone know of a way to generate such maps with an open-source library?

like image 781
Ted Benson Avatar asked Aug 13 '09 17:08

Ted Benson


2 Answers

I work on a library which provides functionality similar to described in the question. It's called jVectorMap. This is a jQuery plugin, which allows to place world map components on web pages using SVG in modern browsers and VML in IE 6-8. You can customize it in many ways, changing look and behavior of map. Unfortunately documentation is not ready yet. You can check out example and code here http://jvectormap.owl-hollow.net/.

like image 168
bjornd Avatar answered Oct 23 '22 12:10

bjornd


In the meantime, google released Geochart Maps, an update to the geomap. It creates SVG maps, and you can make them whatever size you want, with aspect ratio or not. I developed a plugin to build maps using this API for wordpress. Check it out at http://cmoreira.net/interactive-world-maps-demo/

like image 25
CMoreira Avatar answered Oct 23 '22 13:10

CMoreira