ol-games: Hexmap

hexagonal map or hex map is a game board design commonly used in wargames of all scales. The map is subdivided into a hexagonal tiling, small regular hexagons of identical size.
ol.source.HexMap is an image source that render an hexagonal grid on a map. The ol.Hexgrid object is used to convert from coordinate to hex or calculate lines beetween hexagons.

For more information on Hexagnol grid, I recommend this fabulous Red Blob Games article.

Options: