leaflet-ajaxgeojsonlayer

1.0.2 • Public • Published

leaflet-ajaxgeojsonlayer

GeoJSON layer with automatic updates based on the bounding box for the current view.

Usage

The module can be loaded as CommonJS module or with a script element. The first parameter is the URL of the service which returns the GeoJSON for the bounding box.

  var layer = new L.AjaxGeoJSONLayer('geojson')

  map.addLayer(layer)

Readme

Keywords

none

Package Sidebar

Install

npm i leaflet-ajaxgeojsonlayer

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • bergos
  • elkico