{"_id":"@coganalytics/mapbox-gl-draw-geospatial-tools","_rev":"11-597c44c23206f8cc848bb5821232f307","time":{"created":"2023-02-14T12:19:55.992Z","0.3.2":"2023-02-13T22:25:33.536Z","modified":"2023-12-05T13:41:38.023Z","0.2.2":"2023-02-14T04:19:07.146Z","0.2.3":"2023-02-14T12:19:56.356Z","0.2.4":"2023-09-22T06:06:29.910Z","0.2.5":"2023-10-18T23:57:44.704Z","0.2.6":"2023-10-24T18:22:58.258Z","0.2.7":"2023-10-24T20:18:41.960Z","0.2.8":"2023-10-24T21:36:51.958Z","0.2.9":"2023-11-13T15:28:54.578Z","0.3.0":"2023-12-05T13:41:37.850Z"},"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.3":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.3","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.3","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-btDOVWrBRRd+t2hKxEhze1XxxSlSSJ1cVx8UqoJffmTDan3sJHUTV/ZLbENZnVZdzCLYzj/3DPa93bLeGguW9A==","shasum":"e80602c9b85e8b4c0d3e442ec9018f4b07b35b32","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.3.tgz","fileCount":16,"unpackedSize":4724538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGnm9ZozB4q7eD5J8PlDIHMIlBfh9Q5qEDU+1w4QArL9AiEA8yKZ85V7EA8NqFfvcEYN4kDw/rxBd8tm8ugcSyCO/VU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj63xsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmro6w/9FDapCUdPMKy+Fc5rR/3JzR7mm8wnHTnKV/BeI3MCsdLzvATU\r\nFjp2fCLMHLao41B8HHG5gErwzaDTWU/igHbxJWd1WCMA1aVDJxwxUPlsNUBj\r\na6UE++HzKr2HAqHHzWnvFMBBAxEGjpz0Zx1sQOSPruBRe37spCqbpdtl9rQr\r\nzA1Hl43rAofvlRro7EInotBDfVVBq9YItQraOMPYvBYQx6K1OnAtYVqDtR1Y\r\n+AqI7wioZeLq6qXtWnTwmNvkq5JrOrJg6mi34McmCvHz3HIN1+TjzRnwD9+K\r\n8NYWbm+skMuxBYqk2Ym9Nh+dw67cD0MZUD+ul3D0Zb/VRI8nfKY4oLJPqu3/\r\nQL5Acd4gXjghP9eMnEGZNC2NWgg3Lxj59TnwvxmH5RiNgXX2j+PfioFTqi6g\r\nk7oA1WR72eMQfT62w1rQXN71EtpQg5/8/J9m0r9PocveqQ3kCF9c9KFk13rF\r\nwJiGD9UZm0DlAiGe8wxDSdWSiS/wdPx8UImn25Zh9t8a8XLV9QNnJqe7UXGb\r\nzC0jUtRI7K7GN/HYdrYUpAl9uvv/ejM40xdL5sPtMjXoSkye8X7Su3NaFMLB\r\nAjZue2VdwbxsbEOdjtNIRujB2qmRqhf04b6MyRoiTFKvt84SDAMP8zFia4B2\r\nmPDd6zIlPUsoWpMwFVKOeuMYy3sh7hGnxmU=\r\n=TXCo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.3_1676377196103_0.09029500993498085"},"_hasShrinkwrap":false},"0.2.4":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.4","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.4","dist":{"shasum":"d785219a30aec65c4f5ae9768309ff20742d905a","integrity":"sha512-WXzwEOyrlOu4VENkoXkYyGUwLAw0O2cNHp7G/kJEZPhn9Nvb4yplnTpJlI10r+JnG9931XtKHY5JZgjvGtB4Hw==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.4.tgz","fileCount":21,"unpackedSize":4724782,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdDCcAQhyRvRl2GHNiQ93DasQ35Rdj70Tfcbkg5siWDAiBPxYdUu+rNO5YFf9cvM40iHKAnXJ3accZeUevszuWxCg=="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.4_1695362789657_0.16828304530783345"},"_hasShrinkwrap":false},"0.2.5":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.5","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.5","dist":{"shasum":"44a1acd4a49b2143cd0a566d99703b0c46c44d68","integrity":"sha512-/8+yxfcSzDfY0GXHt4xFi0P3FU0IG9sFQ34uz1Z4WqZO+yB8nOum6J5xXy2ZPD1Xvd5cU/tXbKqBJhmCZUa0ZA==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.5.tgz","fileCount":12,"unpackedSize":67746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsoBq6O+ys2CApj2i4b8aarKpaFQkslQts53PwlzXh3gIgb83LFS7LCPFCODcVRU14EJc23d4aVgMGUOakANrWUBQ="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.5_1697673464402_0.6624596062024655"},"_hasShrinkwrap":false},"0.2.6":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.6","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.6","dist":{"shasum":"0103ffe9433f7c8b15a8f41c94d47846a027771f","integrity":"sha512-Iu9qr6wyB5X5C4FOgM+RNnKtB3kvemiBHs3n2QJX8Zni3N/lTfFP3fkqITS10hes5AtzJkg/P2hIWKey01GVmQ==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.6.tgz","fileCount":12,"unpackedSize":66241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtw1GPgZ9mvD8/RZNVDuQlGUYwbdi3Qw3I3/omx8x2LgIgFHQaTB+pxy5jP6y9V2xLMOT2NztU0iUX/kokueZVQSI="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.6_1698171778049_0.8810920915249771"},"_hasShrinkwrap":false},"0.2.7":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.7","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.7","dist":{"shasum":"d277ef9730543001e732d3e2b75cc2e5cefeafa0","integrity":"sha512-aN90b6mA6HkOkZAS075Bk1/JDyVRUmYRJ3qElChCRwFyHQEo3KhHZ+E6Hjl8DnBljulWj5+0xhhzj+TYyOvOkw==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.7.tgz","fileCount":12,"unpackedSize":70299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNO1SkvEsZFmsNDqixOnmx8gTYvWMlroyjbrHY7pKPuAiEA6EXXobwQTu9i65TgAp37CGAT9mIyF+iynkq2wnLI/wg="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.7_1698178721646_0.9004886237892618"},"_hasShrinkwrap":false},"0.2.8":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.8","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-circle":"1.1.2","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.8","dist":{"shasum":"6b792bb6225f2700c4ee5d0456f4aa4e338472a8","integrity":"sha512-53vsZP7ZbsjZbJsB2waOfTRE5Ysdf8V9OqdzoijolEgHX2VAJPpHZpe+b18JfPFmOvBPTG3Dg/bs2eKSljfYfg==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.8.tgz","fileCount":12,"unpackedSize":67307,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAioLwKKxvH8wVTSzSiYBa/wV4vC4EIt3CZT1CUcuHl3AiA8WtW+9iR54o0ta0yz7iueaHCTPmWng9hU5KzKk62v6g=="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.8_1698183411710_0.8215259089185338"},"_hasShrinkwrap":false},"0.2.9":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.2.9","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-circle":"1.1.2","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.2.9","dist":{"shasum":"45fec56f7ebf170f120900c07e3b97d68d40cb8a","integrity":"sha512-xWA/TPtJhHHuPGqy+agXi/Zijc2Yy2FqjudARSJFfXGDSwjkOdp5TJQFE4wLP2f+dxukTWrbgl89e/JmaAe3bA==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.2.9.tgz","fileCount":12,"unpackedSize":67330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQN2P7JG8njXEwOu1Bgcp1ZPX99+LWKBH52UhWtsyhCQIhAP2gCjAz1ByXwPB+N9O9uq9CyOov/u/DvjCVd5jzqNz7"}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.2.9_1699889334375_0.6067461898062028"},"_hasShrinkwrap":false},"0.3.0":{"name":"@coganalytics/mapbox-gl-draw-geospatial-tools","version":"0.3.0","description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","main":"dist/index.js","module":"src/index.js","scripts":{"build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"author":{"name":"Reyhane Masumi"},"contributors":[{"name":"Mohammad H. Sattarian"}],"license":"MIT","bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","devDependencies":{"@rollup/plugin-commonjs":"21.0.1","@rollup/plugin-inject":"4.0.3","@rollup/plugin-node-resolve":"13.0.6","rollup":"^2.59.0","rollup-plugin-copy":"^3.4.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{"@geostarters/mapbox-gl-draw-rectangle-assisted-mode":"^3.0.4","@mapbox/mapbox-gl-draw":"^1.3.0","@turf/along":"^6.0.1","@turf/circle":"^6.0.1","@turf/distance":"^6.0.1","@turf/helpers":"^6.1.4","@turf/length":"^6.0.2","lodash.unionby":"^4.8.0","mapbox-gl-circle":"^1.6.5","mapbox-gl-draw-additional-tools":"^0.5.0","mapbox-gl-draw-circle":"1.1.2","mapbox-gl-draw-cut-polygon-mode":"^1.0.2","mapbox-gl-draw-freehand-mode":"^2.1.0","mapbox-gl-draw-passing-mode":"^0.1.0","mapbox-gl-draw-pinning-mode":"^0.1.1","mapbox-gl-draw-rectangle-restrict-area":"^3.1.5","mapbox-gl-draw-scale-rotate-mode":"^0.1.0","mapbox-gl-draw-snap-mode":"^0.1.8","mapbox-gl-draw-split-line-mode":"^1.0.3","mapbox-gl-draw-split-polygon-mode":"^1.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2020 Map.ir\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@coganalytics/mapbox-gl-draw-geospatial-tools@0.3.0","dist":{"shasum":"ca5379ca2245cf697ff4338fb201d870cf6e8cbc","integrity":"sha512-3AD4bpjWyP+agrHMZhm1C5cSFW8foumhE0pPIoW0GnANxNj41itknk4ww8zn9lUglGJMla8F/zfmLrlPQuOlJA==","tarball":"https://registry.npmjs.org/@coganalytics/mapbox-gl-draw-geospatial-tools/-/mapbox-gl-draw-geospatial-tools-0.3.0.tgz","fileCount":12,"unpackedSize":67415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUUg4IwzwytB1ObTL2rqCPgy28XQ2jy76rOduwUWJH2AiEAzG00QBJ92TztOaBfdKPwxS4ak5W6EZxtZh2VlW6v+8g="}]},"_npmUser":{"name":"lasterblade","email":"lasterblade@gmail.com"},"directories":{},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapbox-gl-draw-geospatial-tools_0.3.0_1701783697675_0.47258481122783835"},"_hasShrinkwrap":false}},"maintainers":[{"name":"lasterblade","email":"lasterblade@gmail.com"}],"description":"Custom tools for geospatial edit and analysis based on Mapbox Gl Draw","homepage":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools#readme","keywords":["mapbox","mapbox-gl","mapbox-gl-draw","geojson"],"repository":{"type":"git","url":"git+https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools.git"},"contributors":[{"name":"Mohammad H. Sattarian"}],"author":{"name":"Reyhane Masumi"},"bugs":{"url":"https://github.com/lasterblade/mapbox-gl-draw-geospatial-tools/issues"},"license":"MIT","readme":"[![NPM](https://img.shields.io/npm/v/@map.ir/mapbox-gl-draw-geospatial-tools.svg)](https://www.npmjs.com/package/@map.ir/mapbox-gl-draw-geospatial-tools)\n![Develop](https://github.com/map-ir/mapbox-gl-draw-geospatial-tools/workflows/Develop/badge.svg)\n![Release](https://github.com/map-ir/mapbox-gl-draw-geospatial-tools/workflows/Release/badge.svg)\n\n# Mapbox GL Draw Geospatial Tools\n\nAdvanced tools for geospatial edit and analysis based on [MapboxGL-Draw](https://github.com/mapbox/mapbox-gl-draw).\n\nInternally multiple Mapbox GL Draw plugins are used:\n\n-   [Split LineString Mode](https://github.com/ReyhaneMasumi/mapbox-gl-draw-split-line-mode)\n-   [Split Polygon Mode](https://github.com/ReyhaneMasumi/mapbox-gl-draw-split-polygon-mode)\n-   [Cut Polygon Mode](https://github.com/ReyhaneMasumi/mapbox-gl-draw-cut-polygon-mode)\n-   [Scale/Rotate Mode](https://github.com/ReyhaneMasumi/mapbox-gl-draw-scale-rotate-mode)\n-   [Pinning Mode](https://github.com/mhsattarian/mapbox-gl-draw-pinning-mode)\n-   [Snap Mode](https://github.com/mhsattarian/mapbox-gl-draw-snap-mode)\n-   [Free Hand Mode](https://github.com/bemky/mapbox-gl-draw-freehand-mode)\n-   [Rectangle Restrict Area Mode](https://github.com/dqunbp/mapbox-gl-draw-rectangle-restrict-area)\n-   [Assisted Rectangle Mode](https://github.com/geostarters/mapbox-gl-draw-assisted-rectangle-mode)\n-   [Circle](https://github.com/smithmicro/mapbox-gl-circle)\n-   [Aditional Tools](https://github.com/ReyhaneMasumi/mapbox-gl-draw-additional-tools)\n\n## [DEMO](https://map-ir.github.io/mapbox-gl-draw-geospatial-tools/)\n\n![An Image showing toolbar](demo/public/demo.png)\n\n[Or, See Example](https://github.com/map-ir/mapbox-gl-draw-geospatial-tools/blob/main/demo/src/App.js)\n\n## Install\n\n```bash\nnpm install @map.ir/mapbox-gl-draw-geospatial-tools\n```\n\nor use CDN:\n\n```html\n<script src=\"https://unpkg.com/@map.ir/mapbox-gl-draw-geospatial-tools\"></script>\n```\n\n## Usage\n\n**geospatial-tools** provides `MapboxDrawPro` class, a wrapper for `Mapbox Draw` so you can use it just like you would use `Mapbox Draw`.\n\n```js\nimport mapboxGl from 'mapbox-gl';\nimport MapboxDrawPro from '@map.ir/mapbox-gl-draw-geospatial-tools';\n\nconst map = new mapboxgl.Map({\n    container: 'map', // container id\n    style: 'mapbox://styles/mapbox/streets-v11',\n    center: [-91.874, 42.76], // starting position\n    zoom: 12, // starting zoom\n});\n\nconst draw = new MapboxDrawPro(option);\n```\n\n> **`MapboxDrawPro` supported all options and methods of [MapboxGL-Draw](https://github.com/mapbox/mapbox-gl-draw)**\n>\n> See [API.md](https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md) for complete reference.\n\nalso, you can customize options of internally used plugins which are as below in default:\n\n```js\n{\n    userProperties: true,\n    // aditional-tools\n    union: true,\n    copy: true,\n    buffer: true,\n    bufferSize: 0.5,\n    bufferUnit: 'kilometers',\n    bufferSteps: 64,\n    length: true,\n    lengthUnit: 'kilometers',\n    showLength: true,\n    area: true,\n    showArea: true,\n\n    // snap-mode\n    snap: true,\n    snapOptions: {\n        snapPx: 15,\n        snapToMidPoints: true,\n    },\n    guides: false,\n}\n```\n\n## License\n\nMIT © [map-ir](LICENSE)\n","readmeFilename":"README.md"}