Widget HTML Atas

How To Practise Hexagon Grid Maps


In How to Create Grid Maps I gave an event of a foursquare grid map created using the Leaflet.js mapping library. I actually wanted to add together an event of a hexagon grid map to that post service simply I didn't accept the fourth dimension to exercise the hexagon shapes.

CartoDB nevertheless has come upward to the rescue alongside this dainty hexagon grid map of Bee Loss inwards the USA. The map shows the per centum of bee loss inwards each solid seat down from Apr 2014 to Apr 2015.

The hexagon polygons for the Bee Loss map is provided inwards a table view alongside a neat picayune push to download the information equally a GeoJSON file. So what's a guy to do? Well - this guy shamelessly 'borrowed' the information together with created a Leaflet Hexagon Grid map.


This Hexagon Grid Map provides a picayune event of how you lot tin strength out exercise a hexagon grid map of USA states alongside Leaflet.js. You tin strength out mouse-over each solid seat down to thought the solid seat down name. Ideally each hexagon should include a label for the solid seat down represented. That should travel fairly straightforward to accomplish using the Leaflet.label plug-in.



If hexagons don't float your boat - thence other shapes are available. Flowing Data has been compiling a listing of other shapes that accept been used for grid maps.