the beauty of mapping


Kode Iklan Disini

Tuesday, July 20, 2021

How To Practise Hexagon Grid Maps


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

CartoDB yet has come upwards to the rescue amongst this squeamish hexagon grid map of Bee Loss inward the USA. The map shows the pct of bee loss inward each country from Apr 2014 to Apr 2015.

The hexagon polygons for the Bee Loss map is provided inward a table view amongst a neat footling push to download the information every bit 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 footling illustration of how y'all tin practise a hexagon grid map of USA states amongst Leaflet.js. You tin mouse-over each country to persuasion the country name. Ideally each hexagon should include a label for the country represented. That should locomote fairly straightforward to orbit using the Leaflet.label plug-in.



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