Nonchalantly Performs Magic

    react-leaflet-figure-editor

    0.2.4 • Public • Published

    React-leaflet-figure-editor

    Build Status CircleCI


    Install

    npm install react-leaflet-figure-editor
    yarn add react-leaflet-figure-editor

    import React from "react";
    import FigureEditor from "react-leaflet-figure-editor";
    import { Map, TileLayer } from "react-leaflet";
     
    class App extends React.Component {
      render() {
        return (
          <div className="App">
            <Map center={[47.445745, 40.272891666666666]} zoom={10} ref="map">
              <TileLayer
                attribution='&amp;copy <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
                url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
              />
              <FigureEditor />
            </Map>
          </div>
        );
      }
    }
     
    export default App;
     
    Prop Type Default Description
    calbackChange Function () => {} Called after change figures

    Keywords

    none

    Install

    npm i react-leaflet-figure-editor

    DownloadsWeekly Downloads

    31

    Version

    0.2.4

    License

    none

    Unpacked Size

    72.7 MB

    Total Files

    51

    Last publish

    Collaborators

    • argonavt11