UNPKG

svgmap

Version:

svgMap is a JavaScript library that lets you easily create an interactable world map comparing customizable data for each country.

15 lines (14 loc) 476 B
(function (root, factory) { if (typeof define === 'function' && define.amd) { define(['svg-pan-zoom'], function (svgPanZoom) { return (root.svgMap = factory(svgPanZoom)); }); } else if (typeof module === 'object' && module.exports) { module.exports = root.svgMap = factory(require('svg-pan-zoom')); } else { root.svgMap = factory(root.svgPanZoom); } })(this, function (svgPanZoom) { var svgMap = svgMapWrapper(svgPanZoom); return svgMap; });