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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

Package Sidebar

Install

npm i leaflet-ajaxgeojsonlayer

Weekly Downloads

7

Version

1.0.2

License

MIT

Last publish

Collaborators

  • bergos
  • elkico