Embed the plugin. Take a coffee. Done.
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
svg
tests
README.md
coffeemap.css
coffeemap.js

README.md

CoffeeMap

Usage

<div id="map"></div>
<script>
var embed_map = new CoffeeMap({
	containerSelector: '#map',
	mapName: 'world'
});
</script>

Constructor options

containerSelector (String)

A jQuery DOM selector where to embed the map.

baseSVGPath (String)

The URI where to load the SVG maps.

Dependencies

  • underscore.js
  • jQuery

Credits

Maps SVGs are taken from (http://code.highcharts.com/mapdata/1.0.0/)[http://code.highcharts.com/mapdata/1.0.0]