polygon-map-cells

Generates a series of polygons and points based off a centre point, arc length and max radius.

Usage no npm install needed!

<script type="module">
  import polygonMapCells from 'https://cdn.skypack.dev/polygon-map-cells';
</script>

README

Polygon Map Cells

Generates a series of polygons and points based off a centre point and max radius.

Usage

var Cells = require('polygon-map-cells');

var options = {
    maxRadius: 15,
    centre: {
        lat: 53.396870,
        long: -1.426108,
    }
}

var cells = Cells(options);

Max Radius is measured in km.