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)

/leaflet-ajaxgeojsonlayer/

    Package Sidebar

    Install

    npm i leaflet-ajaxgeojsonlayer

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • bergos
    • elkico