{"_id":"react-leaflet-draw-next","_rev":"4-f28e3efb30dde31cca46d29418c19282","name":"react-leaflet-draw-next","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"react-leaflet-draw-next","version":"1.0.0","keywords":["react","leaflet","draw","editor"],"author":{"name":"Shubham Mathur","email":"itseasy21@gmail.com"},"license":"ISC","_id":"react-leaflet-draw-next@1.0.0","maintainers":[{"name":"itseasy21","email":"itseasy21@gmail.com"}],"contributors":[{"name":"Alexandre Rieux"},{"name":"Shubham Mathur"}],"homepage":"https://github.com/itseasy21/react-leaflet-draw-next#readme","bugs":{"url":"https://github.com/itseasy21/react-leaflet-draw-next/issues"},"dist":{"shasum":"4ae170911a4654e05e21ebbda5d3f69ae59903f4","tarball":"https://registry.npmjs.org/react-leaflet-draw-next/-/react-leaflet-draw-next-1.0.0.tgz","fileCount":11,"integrity":"sha512-HMgziRw+F5qiDVImBYh5WgvO4KlYgKFh4a2yD/DLJgFPPzdyGkHhJWoBr6BleIsACViMllASO8C3etFu1fbtPA==","signatures":[{"sig":"MEQCIAykIlLO1WfsFCCOvtNrYgBAtfSyhQNi6UJqH2AhwWhpAiBqTavwWnP7ZotkvBi88pJ92lfMZzyiSj6A1Xjj7iTrTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64926},"main":"dist/react-leaflet-draw-next.js","types":"src/index.d.ts","module":"dist/esm/index.js","engines":{"npm":">=6.0.0","node":">=16.0.0"},"gitHead":"f66b5687468fc8857e3ea3ea919251e37e6c21ca","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"npm run build:dist","version":"npm run build","build:esm":"babel src --out-dir dist/esm","build:umd":"webpack ./src/index.js --output-filename react-leaflet-draw-next.js","build:dist":"npm run build:umd && npm run build:umd:min && npm run build:esm","prepublish":"npm run build","postversion":"git push && git push --tags","build:umd:min":"webpack ./src/index.js --output-filename react-leaflet-draw-next.min.js","example:class":"webpack-dev-server --config ./examples/class/webpack.config.js","example:hooks":"cd ./examples/hooks && vite"},"_npmUser":{"name":"itseasy21","email":"itseasy21@gmail.com"},"repository":{"url":"git+ssh://git@github.com/itseasy21/react-leaflet-draw-next.git","type":"git"},"_npmVersion":"10.9.0","description":"Next-generation React component for Leaflet.draw, extending react-leaflet-draw with modern features and support.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"lodash-es":"^4.17.15","fast-deep-equal":"^3.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^3.0.8","react":"^18.1.0","eslint":"^8.17.0","leaflet":"^1.9.4","webpack":"^5.73.0","react-dom":"^18.1.0","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","webpack-cli":"^4.9.2","@types/react":"^18.0.17","babel-loader":"^8.1.0","leaflet-draw":"^1.0.4","react-leaflet":"^4.0.0","@types/leaflet":"^1.9.16","lodash.isequal":"^4.4.0","@types/react-dom":"^18.0.6","@babel/preset-env":"^7.12.1","webpack-dev-server":"^4.9.2","@babel/preset-react":"^7.12.1","@types/leaflet-draw":"^1.0.11","eslint-plugin-react":"^7.21.5","@babel/eslint-parser":"^7.12.1","lodash-webpack-plugin":"^0.11.5","@babel/plugin-proposal-class-properties":"^7.12.1"},"peerDependencies":{"react":"^18.0.0","leaflet":"^1.8.0","prop-types":"^15.5.2","leaflet-draw":"^1.0.4","react-leaflet":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-leaflet-draw-next_1.0.0_1753160093235_0.3615939102076693","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"react-leaflet-draw-next","version":"1.0.1","keywords":["react","leaflet","draw","editor"],"author":{"name":"Shubham Mathur","email":"itseasy21@gmail.com"},"license":"ISC","_id":"react-leaflet-draw-next@1.0.1","maintainers":[{"name":"itseasy21","email":"itseasy21@gmail.com"}],"contributors":[{"name":"Alexandre Rieux"},{"name":"Shubham Mathur"}],"homepage":"https://github.com/itseasy21/react-leaflet-draw-next#readme","bugs":{"url":"https://github.com/itseasy21/react-leaflet-draw-next/issues"},"dist":{"shasum":"783e74f8c073a317fd07f08aeaa951b6eebbf745","tarball":"https://registry.npmjs.org/react-leaflet-draw-next/-/react-leaflet-draw-next-1.0.1.tgz","fileCount":60,"integrity":"sha512-yNeNIE6CeJ3hlJbpM4tb5ahkXaUswqqlC3Db2NcUh4vyLLCOKjpdi9wvfROnlo+tAZBuY0+5Sbv6kyrisHieLQ==","signatures":[{"sig":"MEUCIQCPT/ingKkqwsor6JwSifGvKnjVLRLVYwrsJ3q0BemfagIgDpbYlrCstu1/5/WcQManQ4nqLCbqBV54wjscWA//fLs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":206283},"main":"dist/react-leaflet-draw-next.js","types":"src/index.d.ts","module":"dist/esm/index.js","gitHead":"961afd44ae640a35521e5ab6107c668d5abb7b8b","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 0","build":" npm run build:dist","release":"npm run build && changeset publish","version":"npm run build","build:esm":"babel src --out-dir dist/esm","build:umd":"webpack ./src/index.js --output-filename react-leaflet-draw-next.js","changeset":"changeset","build:dist":"npm run build:umd && npm run build:umd:min && npm run build:esm","prepublish":"npm run build","postversion":"git push && git push --tags","build:umd:min":"webpack ./src/index.js --output-filename react-leaflet-draw-next.min.js","example:class":"webpack-dev-server --config ./examples/class/webpack.config.js","example:hooks":"cd ./examples/hooks && vite","version-packages":"changeset version"},"_npmUser":{"name":"itseasy21","email":"itseasy21@gmail.com"},"repository":{"url":"git+ssh://git@github.com/itseasy21/react-leaflet-draw-next.git","type":"git"},"_npmVersion":"10.9.0","description":"Next-generation React component for Leaflet.draw, extending react-leaflet-draw with modern features and support.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"lodash-es":"^4.17.15","fast-deep-equal":"^3.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.0","react":"^19.1.0","eslint":"^8.17.0","leaflet":"^1.9.4","webpack":"^5.99.9","react-dom":"^19.1.0","@babel/cli":"^7.12.1","@babel/core":"^7.12.3","webpack-cli":"^4.9.2","@types/react":"^19.0.0","babel-loader":"^8.1.0","leaflet-draw":"^1.0.4","react-leaflet":"^5.0.0","@types/leaflet":"^1.9.16","lodash.isequal":"^4.4.0","@changesets/cli":"^2.29.5","@types/react-dom":"^19.0.0","@babel/preset-env":"^7.12.1","webpack-dev-server":"^4.9.2","@babel/preset-react":"^7.12.1","@react-leaflet/core":"^2.0.0","@types/leaflet-draw":"^1.0.11","eslint-plugin-react":"^7.21.5","@babel/eslint-parser":"^7.12.1","lodash-webpack-plugin":"^0.11.5","@babel/plugin-proposal-class-properties":"^7.12.1"},"peerDependencies":{"react":"^19.0.0","leaflet":"^1.9.4","prop-types":"^15.5.2","leaflet-draw":"^1.0.4","react-leaflet":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-leaflet-draw-next_1.0.1_1754567943530_0.44658222397133507","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"react-leaflet-draw-next","version":"1.0.2","keywords":["react","leaflet","draw","editor"],"author":{"name":"Shubham Mathur","email":"itseasy21@gmail.com"},"license":"ISC","_id":"react-leaflet-draw-next@1.0.2","maintainers":[{"name":"itseasy21","email":"itseasy21@gmail.com"}],"contributors":[{"name":"Alexandre Rieux"},{"name":"Shubham Mathur"}],"homepage":"https://github.com/itseasy21/react-leaflet-draw-next#readme","bugs":{"url":"https://github.com/itseasy21/react-leaflet-draw-next/issues"},"dist":{"shasum":"800d3f81a532a3dedc1899cffad0c401e0fd3c21","tarball":"https://registry.npmjs.org/react-leaflet-draw-next/-/react-leaflet-draw-next-1.0.2.tgz","fileCount":60,"integrity":"sha512-k35LVy5CM3PxX6IMW65HYkC47zx8wAvFwUm08cnQUzRbb7N4pdPvVOI2E5y1ppW3/Mf+mF2qAbDEg8WFlyQMJw==","signatures":[{"sig":"MEQCIHgTZQCEZ0eSsBPzog1RUZTuoPJOLuKVE/VcuCnbF+aXAiBV90Luk6ByvShyed5mxvVCP9/JcKHupW1uLOGE8Je0sg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":209753},"main":"dist/react-leaflet-draw-next.js","types":"src/index.d.ts","module":"dist/esm/index.js","gitHead":"6fe93e401c69278f3edea0743be91be05745a5e1","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 0","build":" npm run build:dist","release":"npm run build && changeset publish","version":"npm run build","build:esm":"babel src --out-dir dist/esm","build:umd":"webpack ./src/index.js --output-filename react-leaflet-draw-next.js","changeset":"changeset","build:dist":"npm run build:umd && npm run build:umd:min && npm run build:esm","prepublish":"npm run build","postversion":"git push && git push --tags","build:umd:min":"webpack ./src/index.js --output-filename react-leaflet-draw-next.min.js","example:class":"webpack-dev-server --config ./examples/class/webpack.config.js","example:hooks":"cd ./examples/hooks && vite","version-packages":"changeset version"},"_npmUser":{"name":"itseasy21","email":"itseasy21@gmail.com"},"repository":{"url":"git+ssh://git@github.com/itseasy21/react-leaflet-draw-next.git","type":"git"},"_npmVersion":"10.9.0","description":"Next-generation React component for Leaflet.draw, extending react-leaflet-draw with modern features and support.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"lodash-es":"^4.17.15","fast-deep-equal":"^3.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.3.5","react":"^19.1.0","eslint":"^8.17.0","leaflet":"^1.9.4","webpack":"^5.99.9","react-dom":"^19.1.0","@babel/cli":"^7.12.1","typescript":"^5.9.2","@babel/core":"^7.12.3","webpack-cli":"^4.9.2","@types/react":"^19.0.0","babel-loader":"^8.1.0","leaflet-draw":"^1.0.4","react-leaflet":"^5.0.0","@types/leaflet":"^1.9.16","lodash.isequal":"^4.4.0","@changesets/cli":"^2.29.5","@types/react-dom":"^19.0.0","@babel/preset-env":"^7.12.1","webpack-dev-server":"^4.9.2","@babel/preset-react":"^7.12.1","@react-leaflet/core":"^2.0.0","@types/leaflet-draw":"^1.0.11","eslint-plugin-react":"^7.21.5","@babel/eslint-parser":"^7.12.1","lodash-webpack-plugin":"^0.11.5","@babel/plugin-proposal-class-properties":"^7.12.1"},"peerDependencies":{"react":"^19.0.0","leaflet":"^1.9.4","prop-types":"^15.5.2","leaflet-draw":"^1.0.4","react-leaflet":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-leaflet-draw-next_1.0.2_1754573425277_0.06384034114544268","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"react-leaflet-draw-next","version":"1.0.3","description":"Next-generation React component for Leaflet.draw, extending react-leaflet-draw with modern features and support.","main":"dist/react-leaflet-draw-next.js","module":"dist/esm/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 0","build:dist":"npm run build:umd && npm run build:umd:min && npm run build:esm","build:umd":"webpack ./src/index.js --output-filename react-leaflet-draw-next.js","build:umd:min":"webpack ./src/index.js --output-filename react-leaflet-draw-next.min.js","build:esm":"babel src --out-dir dist/esm","build":" npm run build:dist","prepublish":"npm run build","version":"npm run build","postversion":"git push && git push --tags","example:class":"webpack-dev-server --config ./examples/class/webpack.config.js","example:hooks":"cd ./examples/hooks && vite","lint":"eslint ./src","changeset":"changeset","version-packages":"changeset version","release":"npm run build && changeset publish"},"repository":{"type":"git","url":"git+ssh://git@github.com/itseasy21/react-leaflet-draw-next.git"},"keywords":["react","leaflet","draw","editor"],"contributors":[{"name":"Alexandre Rieux"},{"name":"Shubham Mathur"}],"author":{"name":"Shubham Mathur","email":"itseasy21@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/itseasy21/react-leaflet-draw-next/issues"},"homepage":"https://github.com/itseasy21/react-leaflet-draw-next#readme","types":"src/index.d.ts","peerDependencies":{"leaflet":"^1.9.4","leaflet-draw":"^1.0.4","prop-types":"^15.5.2","react":"^19.0.0","react-leaflet":"^5.0.0"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/eslint-parser":"^7.12.1","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.1","@changesets/cli":"^2.29.5","@react-leaflet/core":"^3.0.0","@types/leaflet":"^1.9.16","@types/leaflet-draw":"^1.0.11","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","babel-loader":"^8.1.0","eslint":"^8.17.0","eslint-plugin-react":"^7.21.5","leaflet":"^1.9.4","leaflet-draw":"^1.0.4","lodash-webpack-plugin":"^0.11.5","lodash.isequal":"^4.4.0","react":"^19.1.0","react-dom":"^19.1.0","react-leaflet":"^5.0.0","typescript":"^5.9.2","vite":"^6.3.5","webpack":"^5.99.9","webpack-cli":"^4.9.2","webpack-dev-server":"^4.9.2"},"dependencies":{"fast-deep-equal":"^3.1.3","lodash-es":"^4.17.15"},"_id":"react-leaflet-draw-next@1.0.3","gitHead":"a6ce0581c31b454f09c457de5a3407c42443a22e","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-Lt7UbOWH9l3rzKMgSSbPGJzf9sFkvcbOrbFS+uvcfzKTFsW4oKhA0Us8Vd6Il0jEuNzcwi18Iccu1deo45V7iQ==","shasum":"991328cc2222b1cd8f60514b6f0de855ea671f4b","tarball":"https://registry.npmjs.org/react-leaflet-draw-next/-/react-leaflet-draw-next-1.0.3.tgz","fileCount":9,"unpackedSize":44563,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGFtT1xrunzfbBPgOVJT73psaLWy44mz0umrHCZaDdDIAiEAqH/WVZuhukBGCQPtl5XhPcZN4oGgRIyLalRA99JMYlI="}]},"_npmUser":{"name":"itseasy21","email":"itseasy21@gmail.com"},"directories":{},"maintainers":[{"name":"itseasy21","email":"itseasy21@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-leaflet-draw-next_1.0.3_1754872478298_0.5521892899460672"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-22T04:54:53.161Z","modified":"2025-08-11T00:34:38.635Z","1.0.0":"2025-07-22T04:54:53.422Z","1.0.1":"2025-08-07T11:59:03.673Z","1.0.2":"2025-08-07T13:30:25.450Z","1.0.3":"2025-08-11T00:34:38.467Z"},"bugs":{"url":"https://github.com/itseasy21/react-leaflet-draw-next/issues"},"author":{"name":"Shubham Mathur","email":"itseasy21@gmail.com"},"license":"ISC","homepage":"https://github.com/itseasy21/react-leaflet-draw-next#readme","keywords":["react","leaflet","draw","editor"],"repository":{"type":"git","url":"git+ssh://git@github.com/itseasy21/react-leaflet-draw-next.git"},"description":"Next-generation React component for Leaflet.draw, extending react-leaflet-draw with modern features and support.","contributors":[{"name":"Alexandre Rieux"},{"name":"Shubham Mathur"}],"maintainers":[{"name":"itseasy21","email":"itseasy21@gmail.com"}],"readme":"# React-Leaflet-Draw-Next\n\nReact component build on top of [React-Leaflet](https://github.com/PaulLeCam/react-leaflet) that integrate [leaflet-draw](https://github.com/Leaflet/Leaflet.draw) feature. This is the next-generation version with React 19 and react-leaflet v5 support.\n\n## Install\n\n```\nnpm install react-leaflet-draw-next\n```\n\n## Getting started\n\nFirst, include leaflet & leaflet-draw styles in your project\n```html\n<link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css\"/>\n<link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.css\"/>\n```\nor by including\n```\nnode_modules/leaflet/dist/leaflet.css\nnode_modules/leaflet-draw/dist/leaflet.draw.css\n```\n\nYou might need to add one more rule missing in the current css:\n```css\n  .sr-only {\n    display: none;\n  }\n```\n\nIt's important to wrap EditControl component into FeatureGroup component from `react-leaflet`.\nThe elements you draw will be added to this FeatureGroup layer, when you hit edit button only items in this layer will be edited.\n\n### JavaScript Usage\n\n```jsx\nimport { MapContainer, TileLayer, FeatureGroup, Circle } from 'react-leaflet';\nimport { EditControl } from \"react-leaflet-draw-next\"\n\nconst Component = () => {\n  const featureGroupRef = useRef();\n\n  return (\n    <MapContainer center={[51.51, -0.06]} zoom={13}>\n      <TileLayer\n        attribution='&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n        url=\"http://{s}.tile.osm.org/{z}/{x}/{y}.png\"\n      />\n      <FeatureGroup ref={featureGroupRef}>\n        <EditControl\n          position='topright'\n          onEdited={this._onEditPath}\n          onCreated={this._onCreate}\n          onDeleted={this._onDeleted}\n          draw={{\n            rectangle: false\n          }}\n          featureGroup={featureGroupRef.current}\n        />\n        <Circle center={[51.51, -0.06]} radius={200} />\n      </FeatureGroup>\n    </MapContainer>\n  );\n};\n```\n\n### TypeScript Usage\n\n```tsx\nimport * as React from 'react';\nimport * as L from 'leaflet';\nimport { MapContainer, TileLayer, FeatureGroup, Circle } from 'react-leaflet';\nimport { EditControl } from \"react-leaflet-draw-next\";\n\ninterface ComponentProps {\n  // your props here\n}\n\nconst Component: React.FC<ComponentProps> = () => {\n  const featureGroupRef = React.useRef<L.FeatureGroup>(null);\n  const [featureGroupReady, setFeatureGroupReady] = React.useState(false);\n\n  React.useEffect(() => {\n    if (featureGroupRef.current && !featureGroupReady) {\n      setFeatureGroupReady(true);\n    }\n  }, [featureGroupReady]);\n\n  const handleEdited = (e: L.DrawEvents.Edited) => {\n    // Handle edited event\n    console.log('Features edited:', e);\n  };\n\n  const handleCreated = (e: L.DrawEvents.Created) => {\n    // Handle created event\n    console.log('Feature created:', e);\n  };\n\n  const handleDeleted = (e: L.DrawEvents.Deleted) => {\n    // Handle deleted event\n    console.log('Features deleted:', e);\n  };\n\n  return (\n    <MapContainer center={[51.51, -0.06]} zoom={13}>\n      <TileLayer\n        attribution='&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors'\n        url=\"http://{s}.tile.osm.org/{z}/{x}/{y}.png\"\n      />\n      <FeatureGroup ref={featureGroupRef}>\n        {featureGroupReady && featureGroupRef.current && (\n          <EditControl\n            position=\"topright\"\n            onEdited={handleEdited}\n            onCreated={handleCreated}\n            onDeleted={handleDeleted}\n            draw={{\n              rectangle: false,\n              circle: true,\n              polyline: true,\n              polygon: true,\n              marker: false,\n              circlemarker: false,\n            }}\n            featureGroup={featureGroupRef.current}\n          />\n        )}\n        <Circle center={[51.51, -0.06]} radius={200} />\n      </FeatureGroup>\n    </MapContainer>\n  );\n};\n```\n\nFor more details on how to use this plugin check out the examples [example](examples).\n- `npm run example:class` to compile the class example\n- `npm run example:hooks` to compile and run the hooks example\n\nYou can pass more options on draw object, this informations can be found [here](https://github.com/Leaflet/Leaflet.draw#user-content-example-leafletdraw-config)\n\n## React 19 and react-leaflet v5 Compatibility\n\nThis package is specifically designed for React 19 and react-leaflet v5. Key changes from the original react-leaflet-draw:\n\n- Uses `MapContainer` instead of `Map`\n- **Requires passing the `featureGroup` prop to `EditControl` with the actual Leaflet FeatureGroup instance**\n- Compatible with the new hooks-based architecture of react-leaflet v5\n\n### Breaking Changes\n\n⚠️ **Important**: The `featureGroup` prop is now **required** for proper functionality with react-leaflet v5. This is a breaking change from previous versions.\n\n## EditControl API\n\n#### Props\n\n|name            |type                        |description                                           |\n|----------------|----------------------------|------------------------------------------------------|\n|position        |string                      |control group position                                |\n|draw            |object <DrawOptions>        |enable/disable draw controls                          |\n|edit            |object <EditPolyOptions>    |enable/disable edit controls                          |\n|featureGroup    |L.FeatureGroup              |**Required**: L.FeatureGroup instance for react-leaflet v5|\n|onEdited        |function                    |hook to leaflet-draw's `draw:edited` event            |\n|onCreated       |function                    |hook to leaflet-draw's `draw:created` event           |\n|onDeleted       |function                    |hook to leaflet-draw's `draw:deleted` event           |\n|onMounted       |function                    |hook to leaflet-draw's `draw:mounted` event           |\n|onEditStart     |function                    |hook to leaflet-draw's `draw:editstart` event         |\n|onEditStop      |function                    |hook to leaflet-draw's `draw:editstop` event          |\n|onDeleteStart   |function                    |hook to leaflet-draw's `draw:deletestart` event       |\n|onDeleteStop    |function                    |hook to leaflet-draw's `draw:deletestop` event        |\n|onDrawStart     |function                    |hook to leaflet-draw's `draw:drawstart` event         |\n|onDrawStop      |function                    |hook to leaflet-draw's `draw:drawstop` event          |\n|onDrawVertex    |function                    |hook to leaflet-draw's `draw:drawvertex` event        |\n|onEditMove      |function                    |hook to leaflet-draw's `draw:editmove` event          |\n|onEditResize    |function                    |hook to leaflet-draw's `draw:editresize` event          |\n|onEditVertex    |function                    |hook to leaflet-draw's `draw:editvertex` event          |\n\n#### Links to docs\n\n* [Control position options](http://leafletjs.com/reference.html#control-positions)\n* [DrawOptions](https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#drawoptions)\n* [EditPolyOptions](https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#editpolyoptions)\n* [Draw events](https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#l-draw-event)\n","readmeFilename":"README.md"}