https://github.com/caffeinalab/coffeemap
Embed the plugin. Take a coffee. Done.
https://github.com/caffeinalab/coffeemap
Last synced: 7 days ago
JSON representation
Embed the plugin. Take a coffee. Done.
- Host: GitHub
- URL: https://github.com/caffeinalab/coffeemap
- Owner: caffeinalab
- Created: 2015-07-13T14:00:44.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-23T07:31:29.000Z (almost 11 years ago)
- Last Synced: 2024-03-27T01:09:51.265Z (about 2 years ago)
- Language: JavaScript
- Size: 176 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoffeeMap
## Usage
```js
var embed_map = new CoffeeMap({
containerSelector: '#map',
mapName: 'world'
});
```
## 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]