Kartograph.js

Rendering SVG maps since 2012

How to use

Kartograph.js is a JavaScript library for rendering SVG maps. It is built on top of jQuery and Raphaƫl.

This section will be improved in the near future, including tutorials and step-by-step examples of how to use Kartograph on your website. Please follow @kartographjs for updates.

API Docs Source
map = new kartograph.map('#mymap');
map.loadMap('italy.svg', function() {
    map.addLayer({
        id: 'provinces',
        key: 'pid'
    });
});