react-leaflet-shapefile

2.0.0 • Public • Published

react-leaflet-shapefile

React component build on top of React-Leaflet that integrate leaflet.shapefile functionality.

Install

npm install react-leaflet-shapefile

Getting started

Add some 'react-leaflet' so you can have a map. Then add

import { Map, TileLayer, FeatureGroup } from 'react-leaflet';
import { ShapeFile } from "react-leaflet-shapefile"

...

 <ShapeFile data={this.somedata} onEachFeature={this.onEachFeature} isArrayBufer={true}/>

For more details on how to use this plugin check the example.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    11
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i react-leaflet-shapefile

Weekly Downloads

13

Version

2.0.0

License

MIT

Last publish

Collaborators

  • azouritis