1.0.6 • Published 11 months ago

dynamic-grids-on-map v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

dynamic-grids-on-map

This is a simple project to show dynamic grids on map using leaflet.

Updated README.md

# dynamic-grids-on-map
This is a simple project to show dynamic grids on map using leaflet.

## Installation
To install the package, use [`npm install dynamic-grids-on-map`]

Example Usage

const L = require('leaflet');
const DynamicGrid = require('dynamic-grids-on-map');
const map = L.map('map').setView([51.505, -0.09], 13);
const dynamicGrid = new DynamicGrid({
    gridSize: 100,
    M_data: yourData,
    customIconFun: yourCustomIconFunction
});

dynamicGrid.onAdd(map);
dynamicGrid.addGrids();

You can view an example of implementation on Angular here: https://github.com/zinthawtun/dynamic-grids-on-map-angular-example.

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.1

12 months ago

1.0.0

12 months ago