This is a simple Hexagon API that supports the following map layouts:
Hexagons, Rhombus, Diamond, Triangle, Rectangle
All map layouts also supports "Pointy Top" & "Flat Top" orientations.
Also provides world-to-hex and hex-to-world functions.
Diamond Layout (Flat Top | Pointy Top)
Hexagon Layout (Flat Top | Pointy Top)
Rhombus Layout (Flat Top | Pointy Top)
Rectangle Layout (Flat Top | Pointy Top)
Triangle Layout (Flat Top | Pointy Top)