A canvas based widget for drawing hexagonal grids
JavaScript HTML CSS Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gh-pages/src Make the HexBoard re-useable, only pass in the canvas element on the … Jan 8, 2016
jsdoc-template Fix implementation links of methods. Aug 8, 2015
specs
src Make the HexBoard re-useable, only pass in the canvas element on the … Jan 8, 2016
.gitignore Re-organize files instead of one big junk drawer Jun 7, 2015
.jshintignore Re-organize files instead of one big junk drawer Jun 7, 2015
.travis.yml Update files for the rename from hex-wdiget --> hex-grid-map Aug 19, 2015
LICENSE Initial commit Feb 12, 2015
README.md Update files for the rename from hex-wdiget --> hex-grid-map Aug 19, 2015
deploy-gh-pages.sh Change the simple demo page to be an AngularJS app in preparation for… Jul 16, 2015
karma-conf.js Re-organize files instead of one big junk drawer Jun 7, 2015
package.json

README.md

Status

Build Status

hex-grid-map

A customizeable html5 hexagonally gridded interactive map.

Installation

hex-grid-map is available on npm. Simply install and save in your project. Browserify is the reccomended way to then use it in your project.

npm install --save hex-grid-map

Architecture

The hexagonal-map is the main controller. It is injected with various Conexts to act as sub-controllers for the layers of the map.

API Reference

API

Demo

Check out the Demo. And then take a look at the source of the demo to see how everything was instantiated.