geojson-resources

1.1.0 • Public • Published

geojson-resources

Statis GeoJSON resources

Install

npm i geojson-resources

Usage

Loading by JQuery and show in Leaflet map directly in your page:

$.when(
  $.getJSON('https://unpkg.com/geojson-resources@1.1.0/world.json'),
)
.then(function(arg) {
  
  L.geoJSON(arg[0]).addTo(map);
  
});

Readme

Keywords

none

Package Sidebar

Install

npm i geojson-resources

Weekly Downloads

15

Version

1.1.0

License

ISC

Last publish

Collaborators

  • stefcud