{"_id":"leaflet.control.layers.tree","_rev":"12-422ae004500759994d57f1980dd76c97","name":"leaflet.control.layers.tree","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"leaflet.control.layers.tree","version":"0.0.1","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@0.0.1","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"36333800ca0faa514d6fc2789310cb1281dec04f","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-0.0.1.tgz","integrity":"sha512-GiN7h1jdWP5Qc/7VhtDJs+ga8aaioiZwDMbyUvmkioZDbGO3CPErXwKwSB9PVod6uqiQppSW1DnotOe7bi6wgg==","signatures":[{"sig":"MEYCIQCy+2l2qAe/zVGUP/jHXCpk4MnKq4VD7ntpQwEwEuywAwIhAIDfphlc0nnAp0IPP6xbDLdPV10h5RDBG7PVw/kQmQ2G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"364bf64ae20ce84818f992c4538c2e0a499836f8","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"5.3.0","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.3.0","devDependencies":{"chai":"~4.1.0","mocha":"^3.5.0","eslint":"^4.3.0","happen":"~0.3.1","blanket":"^1.2.3","leaflet":"^1.1.0","chai-leaflet":"^0.0.13","eslint-plugin-html":"^3.1.1","phantomjs-prebuilt":"^2.1.1","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree-0.0.1.tgz_1502980537962_0.3317121041473001","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"leaflet.control.layers.tree","version":"0.0.2","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@0.0.2","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"67d849cbb559abe4f7b8f02584f8ffc7bf139912","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-0.0.2.tgz","integrity":"sha512-VIl+2anhil1DdD0XM/AkK6sPqciMAG+D9xCd+FvmeTZZpyikjL5Z9C6PKDTFLEpirQWqpQdy+PFvUToff5nKgg==","signatures":[{"sig":"MEYCIQDUKe1tQJ5OSVz9fUDCsXLRFUWtGYwSd0cmZ5Jd8R8CfwIhANFQkClTZT2vms4h8l0SBydgkmQd+nW/evYq133gEWY2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"3422c8a6f1613f3e7927936c41dceb17092870aa","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"5.3.0","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.4.0","devDependencies":{"chai":"~4.1.0","mocha":"^3.5.0","eslint":"^4.3.0","happen":"~0.3.1","blanket":"^1.2.3","leaflet":"^1.1.0","chai-leaflet":"^0.0.13","eslint-plugin-html":"^3.1.1","phantomjs-prebuilt":"^2.1.1","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree-0.0.2.tgz_1503835673822_0.46527111041359603","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"leaflet.control.layers.tree","version":"0.0.3","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@0.0.3","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"c1ed4f240d79df223928082494f17421156a8272","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-0.0.3.tgz","integrity":"sha512-M7FU8Fqu7CUjuSwoBjSPrCPxMX/BVU5IdtMxXEt++As+/gy1fbHeIA6lzSAh4O7nTj+KeeQcgbxhEqUmDfzB4A==","signatures":[{"sig":"MEUCIQCh14Uqh6Q++MzCowm8azWeeq4APrkcXssnD5rV8FiqXwIgSso6e/k1XovB+ooKtJlAqV6AeKuhS40Q649IQCcXfOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"98f7d0fa00e6010c20fbdc6777dcee0691872330","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"5.6.0","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.9.4","devDependencies":{"chai":"~4.1.2","mocha":"^5.0.0","eslint":"^4.16.0","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.3.1","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.1","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree-0.0.3.tgz_1516490383819_0.5796785859856755","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"leaflet.control.layers.tree","version":"0.1.0","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@0.1.0","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"36502890588d48c98451d47c6edbd0280ae4cf88","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-0.1.0.tgz","fileCount":16,"integrity":"sha512-9TVIYHHQS+qyRAsSonOdXAjVh1QE4UGXfdwNzTxJ3T2hHzNoOuxKj9H5Gbu7YJXj5X+x582GM8QqskUUZyFuUw==","signatures":[{"sig":"MEYCIQDiWnAUZcp5FgZh5amXNMrX9UsXE+XXwK4jZYe5Bp60cwIhAKXXEdEproEj7eWH+p7ERiiz6XIQCxMEvcSShnnO9HUP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQ1gpCRA9TVsSAnZWagAA+fYP/inUC4s51yPc1JeI3de8\nmvDrOneF6aUuu0IgjwZN2ghxNU8Ha7cgBtuTNXqy5laSFY5pGHAQcdF/k1qZ\nCs48eaXjwzZgC6uZdp6krC96CRNkX4Xw+wJdetAZ8Dfh6cXSNTakBwlWvW7r\nNXnRZKjVkR6pgzLkulNlr5mCOhd1VlVuT+fUckJPmvWiQIjniLDhSkMow9dV\n/WM03ZQGk743R3KXXI4SlRwBh1uV2v8k236+2uVrh6tLZ7QoI/w0YbUEPLSG\nl2mlixRzPZlBXh0ZTpJuJKEf7mvsHIhqChsSoRkahUeXGQ+8nKl6paZthRRl\nW6DE8JsRopczYhtIEm+66BlKEP4kqrpEcGyH6xS7dESdm2tsLYWOtjWPcOs8\nB3zMvDJxxyPDf3i0Zjs3keCn8IiCw7EDvmXP5QJb9mbxFuaTBN8d/BwV81WD\nMXRnGtzm8KkA/NvSMug6iulhzMOFjwojNjzGTJGvAjYfNS1I2SGPP/LY1y0I\nAHXEMKMqTkP2qyq9wOTy2w9M0RCqVoS3dKUNdYigJzGktMMx5DVNQNkeVZ8x\nA3T2onXi7tk+A+S2PVSewQrNwyqu/pe4HQinFTfGwjT4YBq99FdGyEcbwa9E\nMK6MpRc6l43jcetY6YVL8HTnySpGkBwt+/uN2h1X6jFQ65c3fZ4NOc7TmF4s\n+S8c\r\n=ZM0m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"4d787e389441598e5367bc1585d13149dc5b66ea","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"6.4.1","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.15.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.1.2","mocha":"^5.2.0","eslint":"^4.19.1","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.4.0","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.6","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_0.1.0_1547917352613_0.3471679880336229","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"leaflet.control.layers.tree","version":"0.1.1","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@0.1.1","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"6b6a7f14affd1f7d84d97f596787088177e8b225","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-0.1.1.tgz","fileCount":16,"integrity":"sha512-yu/tS3Hcj2LwKTsyhSUVzqizRjY2Dbux1Xjrwjsm90j8PG5jf1oWvLWuIXXU2xh7dgOit6AodcVorr1pfDS+aA==","signatures":[{"sig":"MEUCIQCL8h3bgM9kscG3ftbF6wv1bKHisOAz59c/XAGXt78VUwIgMeytfS6rdYwIJfMDUQ7lHqYzBc3MAnFDaU7kquKx68o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcREL+CRA9TVsSAnZWagAA+cYQAIYu/SpuD6k8r/EHrYi6\n+CPhPRRU6dmkDVSoc9MMuQu0mRuUBx+H6eaGqqWutn21Qsi3PFCw9H9Zgo5F\npXDGDAbMI4TA9c7BUCzxkf2NpjLaDMeZR4M2Sez3XxKFUfeu86tLOZuF0pCB\nQDLcI3pJ2b6zMlnqmXAs9soCDlmdImRXgHegiWaG7yPN7+3TBRCWnMf7pD39\n446UXUEsk4WiiPDIu8AT0NLRqSLI2eCl74gJcrewqdRufk/r26dx3TYUfOBH\ndkFfFDhT6N0jRhOa3T1I6bb7/2+FRdmw/w9AYiRgpqyCe9gPUjLuA9eHwlKE\nS1MSQOsEPDUEnHWj/ZOZlY6tXj2ymC3dfW+tzavwmEs6IhIhMoORhi4hzFvz\nvhlfvG7sDxGaOQPHiS4KVE6WJDLATcTa17TxLVqQkCCYKe81hJZv9panh2kp\nQDGiwa0MslCIiuXR73K1mU4WNWH76TtE0REIZYeQtlkhClsxsMlCWdVWp/t2\nxjniHsW8mVuxSUwqbqAb6NOawY1LWlBsfItn/thhoUvjjxYpbqMk5AbFmiJN\nQD0y8stSqAiCFPpNMr4+HKQbD4OFav91DTkn02zSWfQjdFWSt8ToFmvXhveB\nOeycTJEgmNsicpP2j8GOeKEZEDCq1qwGEP3LT7+U/XEkbs2LKklDe2xc02Qz\nXcWJ\r\n=PLpF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"ad971814d49f6deb7eca40c06ab55c3d3066a156","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"6.4.1","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.15.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.1.2","mocha":"^5.2.0","eslint":"^4.19.1","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.4.0","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.6","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_0.1.1_1547977469898_0.4075263315045916","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"leaflet.control.layers.tree","version":"1.0.0","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@1.0.0","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"52c2ba1776113a1efa7ee8c8091e263d9a6cf156","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.0.0.tgz","fileCount":17,"integrity":"sha512-ZAm/dfe+Ju+wq6VKomiDWAM2kG33dcOa9NuA0al7fUqlnYI1hD98RD4mchrF3rL8rH1giviJySJOK/joAgubLA==","signatures":[{"sig":"MEUCIEn3cplAIomUgqzBJpa2rAZzE0W4MbTNXzm8HLHATiArAiEAvwBOnbmWv6wGtzLjfRiDO5Dq2xyM0c3f3DN4//ZPxHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2u+6CRA9TVsSAnZWagAA8O0P/A1HlU6OEhx3c3oMB5wJ\nr7rIV3OGlDxWIQjXUv+FGEoX/IQ5cAAWvyPhGNj+AJeI7sIjuqxhRx5jhawN\nSTMHaLF0Y5MwamfF9+77ydRW0ITFBQohnh4cUfK7+gJOABkDlbycg4tyEJKa\nRUxdnzHpqEDLdfB2BtTfOdGdsMkG7tgJz0is+H0sEAabtlgq/RDXQE42d7mR\nlv0R5fb1fDdFA2MA+eiSp4fAV2WHoUhGaUvJyI90pGG+86XjvApS32l9Dxhy\nbPgPmq93NXrpM/QC2APYviFsLK7gPXtlsGw0qwXZ1sTiZRUjDruAQrqO+7jI\nQphzb0SlwvEQPZkmcfst4P3/DICOcaGLzMydqLVgUdpewE75TddzS760pRD+\nMYD0ErgtW/nu29Rc2ro4bXuGIzYNf4akaablBhoDQtLRH0kNFD5We1KPy3EN\n0oZItKfYr70OGLTBDY5lkjGeDXm7+hoR4XaJ6E3SUK73DHP0U9fqOV/h9t9v\nwPs7Mi6Epu4vpO80RW074Z31DSBe2syrL8+exrxSXqmGOuKEErAWGQutcNci\n5YMRRwozr5MojyRfEVaHBfd+r7aBGL04B/30fYhKvTKh3vnpEhlHcsoScnUo\n+tzp+k+j640Fjoi0W4DUPFWrQkcpw+iHEtFfqguhJATwshzj+IiHTHi9ARi+\nKAwo\r\n=NoP4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"f746bb2a08b36ae9364e43ca41cafcf364a6ad56","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"6.4.1","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"8.16.2","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.1.2","mocha":"^5.2.0","eslint":"^4.19.1","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.6.0","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.6","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_1.0.0_1574629305681_0.13148894450386206","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"leaflet.control.layers.tree","version":"1.0.1","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@1.0.1","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"ab9a76b2e09a66129a7f12023e6c578867056a0b","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.0.1.tgz","fileCount":3560,"integrity":"sha512-nun9XhhTgkwF+v7gJAbMM9Z12XgmAKVvuELZwb36AK0pJ0FpyJLVyekHrFndIq7LbYN29ZufussjcDgCZrnlsg==","signatures":[{"sig":"MEQCICh8KOzd1Xj/kYcXUt3FxIcxdQyVm8sWwQW3FuJAHYrjAiBfo8wXT2VDB/edOHM5uJeDbRGw1IlRtQojIpzkB0QBZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23715572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeEy5CRA9TVsSAnZWagAA5W4P/iTIgApzrHst6FK2jhid\nae5/dlD/f+ZOK3CiDteti6iPwqpP9HfEPNyeDOECa2Te+P3Zjg55pkOuopjk\nvuaJYec4emLg+752vnjU2mZY2SDDROWWCgJTkqlGnAd7s3+fHuL610fgTnhK\nryQshI90AHn4jqaxszbLlV9/VQxu+1OtD8Rv3RmayHlwtNtsB9ZToPkgpWwh\nY7Xf+BWSbsOo1/jr3mPPGp8k8ovOzmEXzk0c97qGkJSTs1XjYxFjIh+pd7bn\ndm6Qy+RrlBNFMt/ofoImfTT+LVJWjOC7NG+QRUmyv90M5QKu14ovs7T5R/it\nmd+fV6jcVCj8t0W/UVLe5Ld+l7pKwFSErjSQah0Zch9ccGymrNra7C1aEDwn\nsUt9qnXqsBgXwIMDpCgWknTlAQnFP8Tpm7QGqgyetPVugPwU3kp6ZxYtyX26\nHjbDY0Bs3jXf17dsRlcI2x96DWfvlG0CdowxXj7Q7QbFozDRYvNmhRL6amHp\nceNoERFJViuijf5IxYyseaIm/DjRNgBiTAdPcjo5Z2tdEVbOYzzFmRnHkX5s\nj/49mggde9p48kI8vctBN+aN1JhNBb7w0TrN1eJuw02N7w0odexyZCeRksZe\n+ZPZNttNm9ImOGTbmX9miQIORGbAhrJZYL1f37sJq2q6nd1l4SYr5W7kT8lS\nOfhN\r\n=5atY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"cef82c031ce46998d8ccb36d65d0f4b5df108ead","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"6.14.4","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"10.19.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.1.2","mocha":"^5.2.0","eslint":"^4.19.1","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.7.1","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.6","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_1.0.1_1601719480492_0.9277740424294547","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"leaflet.control.layers.tree","version":"1.0.2","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@1.0.2","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"5a59c1967ff0bde34fa761987a79818455f4ffc1","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.0.2.tgz","fileCount":17,"integrity":"sha512-x/Boki4syfLRuKkpEpkGRaM9MxcktqrLmCaobYWOf/GQN3ND6WSdHC59zkkpx2AsyqLKgbmVUo/IHcchTevDug==","signatures":[{"sig":"MEUCIE9WHdNdy70O9hd/ZjQjS84Qx7XhkQ0uyqnjDG1neBsvAiEA40kSVLEbONQ3uxJwJnfw8rMGDX7DcHOJIcCMBZV38Q0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeE5pCRA9TVsSAnZWagAADikP/iTCUsnRUbFwenvN9wAv\n65ceWdW0Zy3YyM2PVy/CQYvfUCwJlV63BzAD2gk27KqyLvCbl2ibF9S9kVFE\nXjbNxeSkw84gDQx+0gAg4RLlyqa2vhNzDR9nnZ8mZQvpVQS7o7H6PO/3AmJE\nEAivoE7ioTc9alLnYKj4PUoVW8reUUPvXHGuovBNn6HUmGHjxo5GSFL8lksy\nU4MueZwb5EylRQdLJ+j/Enlqikr7YzJBeYYWTd+eupUaF+DZ8nanyCNrPJvi\nxSp1ykUsDxdJVhvzR9ADovkX7wC/XOLBApmHvo+viQXXxzWmOU6DI5+s1dy5\nTXl2TLZJnZEGhS15quffXJ0CwYrr7T5YMUxleVTMFzyQ/u2r2akDbnNgaZZs\nk2ibf5zueE59N2A89K7domobaRLJY32u9ofElPveFngDkZTos+yaW3S2bIlS\nICVl1l3C5HMG8t13X88zti0+fq5OZ7ak23uehvDlVjbGJdr2ycBE8O78Oe+r\nrHln2Uvd2k2pZ/3HwbXSygs6RzTwVpoKV/au5wgcrrCQvj+4S5TJuLlxm2+x\nIl5f/hWX/NbFM4JpsRQ3fnGS0au9NAKkgXY1dnJ9UAqDJzd2T1faN5YH5/RE\ntbuEdHs0ne7w+17HGyy9ZqVt3V4myn2uFOp845uQaCiq18qtM5uzRgrrT18T\nEyAM\r\n=ynyb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","gitHead":"ebc760488884855ecd20d9c907a3935acb921243","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"6.14.4","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"10.19.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.1.2","mocha":"^5.2.0","eslint":"^4.19.1","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.7.1","chai-leaflet":"^0.0.13","eslint-plugin-html":"^4.0.6","phantomjs-prebuilt":"^2.1.16","mocha-phantomjs-core":"^2.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_1.0.2_1601719912548_0.40316973129370304","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"leaflet.control.layers.tree","version":"1.1.0","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@1.1.0","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"dist":{"shasum":"84b5818a2d9620434be3a6ddbed221c49211d31c","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.1.0.tgz","fileCount":11,"integrity":"sha512-B4/dfplsWL2ozra6UcHOfsA20ncmtBwu2HRNdrUSB5Xcd+kK5Tuxb9I+YyjE30cy2oRA3jHoM9sU11aFXAEaBA==","signatures":[{"sig":"MEYCIQDrszSe17SdDqBCpP+NN5N0bRrLaMsmNZ1DjYxbFuntFAIhAIPQ4O4EkHhwoIaoFobdoPDqtwPYhbt+RqzEREI3wbyf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":230671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXcirCRA9TVsSAnZWagAAtL4P/RvSVKwE/xvbNIoDlhjC\niOVZNWtb2JwY9h/lVAwcNcvMb/sqpL8C79OFji8SwgmSz8xK3TZGZPX+ZrQZ\nqD+9gcAXqEp4y8D8/Z1XxzDmqtC23Xc/ZBvRByOBIVTht5hf1GfTOo+H4+D6\n72afUdHzQ8UiN3MyxMzjAhquc1A3j5IzFY2DwI2x0fSsc18pQtqQRg5SDuLJ\nrot2gMDFMMICkDIE5cLneu93ggfFWwXOWkbmeiR4t8/KkpWjDCxsT52BHdkE\n5i6d7NyHzYt+jD8X40Bz3wWkK3htCpsNBUIIKxrlHCxqa5Lza4OFnYt53aP5\nDXGpCyb8aXCgcvVS6BS2V2Ck2oH1eMKi65HqLjr/UF9EzjhEkdgoAJA3GXvS\nrDY/JQjo+K+O6fCnlDWePj7A8yNwrlOkK1exiBFAPp8xezBlL45UF2RbhOz9\nkOPDKB/i8xQOfv9W5TykcXp+5Gi8PEXlrLJadg0dSdwKkrI56/4RkvVVtfnw\nWoi45P1nGulWlAZvHde1hjDk51LGmGk+eEkT652e2faK18ISgDBeo3+UHHJr\nA8ApTtv8HYzQnkJSacQitQyAELwN/U3IoFZ5oKmZnJV/MRqoE8IIr+4gfSjX\nLCHdsoyTrZZjigVVWX0TaGLuORJMZEU83iGe5m/FK1YzyZVQZz1GwSc2HRj4\n09wQ\r\n=HfRZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","types":"L.Control.Layers.Tree.d.ts","scripts":{"lint":"eslint L.*.js test/* examples/*","spec":"mocha-chrome test/index.html --ignore-exceptions","test":"npm run lint && npm run spec","lintfix":"eslint L.*.js test/* examples/* --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"description":"Control Layers in a Tree structure","directories":{},"licenseText":"BSD 3-Clause License\n\nCopyright (c) 2017, Javier Jimenez Shaw\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.3.4","mocha":"^8.3.2","eslint":"^7.22.0","happen":"^0.3.2","blanket":"^1.2.3","leaflet":"^1.7.1","minimist":">=0.2.1","chai-leaflet":"^0.0.13","mocha-chrome":"^2.2.0","eslint-plugin-html":"^6.1.2"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_1.1.0_1616758954769_0.2937737962680782","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"leaflet.control.layers.tree","version":"1.1.1","keywords":["Leaflet","map","geo","tree","control","layers"],"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","_id":"leaflet.control.layers.tree@1.1.1","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"dist":{"shasum":"8799f78bc4b65fd1d60883a10105ca1b099c7afa","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.1.1.tgz","fileCount":7,"integrity":"sha512-585USZV+5jljUvNWBDtadsPped53ER4rAXbyTB/A+198owvSrXrLSfLNST5TyZLkU9+6VVVj8evM4DqZCp2Z8A==","signatures":[{"sig":"MEUCIFQ49XXcRPSPONbTDKcBtS2OpfSMdwYgW0cPTO6DiQKMAiEAtMf6vsffzG1nD1uw2y8R7tDdmTbvh4+aicLQJ4CWRBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41151},"main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","types":"L.Control.Layers.Tree.d.ts","gitHead":"eeffbe9c37f9e7f10d65c0479233b2d0e58a1f21","scripts":{"lint":"npm run lint:js && npm run lint:ts","spec":"npm run spec:js && npm run spec:ts","test":"npm run lint && npm run spec","lint:js":"eslint .","lint:ts":"eslint --config eslint.config-ts.mjs *.ts","spec:js":"mocha-headless-chrome -f test/index.html -a no-sandbox","spec:ts":"tsc","lint:fix":"npm run lint:js -- --fix"},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"repository":{"url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git","type":"git"},"_npmVersion":"10.9.2","description":"Control Layers in a Tree structure","directories":{"test":"test"},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"devDependencies":{"chai":"~4.3.4","mocha":"^11.0.1","eslint":"^9.18.0","happen":"^0.3.2","leaflet":"^1.9.4","ts-node":"^10.9.2","typescript":"^5.7.3","chai-leaflet":"^0.0.13","@types/leaflet":"^1.9.16","typescript-eslint":"^8.20.0","eslint-plugin-html":"^8.1.2","mocha-headless-chrome":"^4.0.0","@typescript-eslint/parser":"^8.20.0","@typescript-eslint/eslint-plugin":"^8.20.0"},"peerDependencies":{"leaflet":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/leaflet.control.layers.tree_1.1.1_1737399646841_0.54757243693856","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"leaflet.control.layers.tree","version":"1.2.0","description":"Control Layers in a Tree structure","main":"L.Control.Layers.Tree.js","style":"L.Control.Layers.Tree.css","types":"L.Control.Layers.Tree.d.ts","directories":{"test":"test"},"license":"BSD-3-Clause","scripts":{"debug":"http-server -c-1","build":"rollup -c rollup-config.mjs","lint:js":"eslint .","lint:ts":"eslint --config eslint.config-ts.mjs *.ts","lint":"npm run lint:js && npm run lint:ts","lint:fix":"npm run lint:js -- --fix","spec:js:v1":"mocha-headless-chrome -f test/v1/index.html -a no-sandbox","spec:js":"mocha-headless-chrome -f test/index.html -a no-sandbox","spec:ts":"tsc","spec":"npm run build && npm run spec:js && npm run spec:js:v1 && npm run spec:ts","test":"npm run lint && npm run spec"},"repository":{"type":"git","url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git"},"keywords":["Leaflet","map","geo","tree","control","layers"],"devDependencies":{"@rollup/plugin-json":"^6.1.0","@types/leaflet":"^1.9.20","@typescript-eslint/eslint-plugin":"^8.44.1","@typescript-eslint/parser":"^8.44.1","chai":"^4.5.0","eslint":"^9.36.0","eslint-plugin-html":"^8.1.3","http-server":"^14.1.1","leaflet":"^1.9.4","mocha":"^11.7.2","mocha-headless-chrome":"^5.1.0","rollup":"^4.52.3","rollup-plugin-delete":"^3.0.1","rollup-plugin-git-version":"^0.3.1","simple-git":"^3.28.0","ts-node":"^10.9.2","typescript":"^5.9.2","typescript-eslint":"^8.44.1"},"peerDependencies":{"leaflet":"^1.1.0"},"author":{"name":"Javier Jimenez Shaw"},"_id":"leaflet.control.layers.tree@1.2.0","gitHead":"72326b214e044de759ac0d85b4c71603ed29fd6a","bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-dYcHanpulplVCl1UtYm2cSu9s/PgmiTFbyXv/I+zEv9OSjhKV6WIPdI8P/P+VYs6WNwWA8qvtMrOw8EiG4g/4Q==","shasum":"25d9909c5acba309b8f2173f60078cce033af3da","tarball":"https://registry.npmjs.org/leaflet.control.layers.tree/-/leaflet.control.layers.tree-1.2.0.tgz","fileCount":9,"unpackedSize":63596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDleEiJMTyI0MPX9uJnaVnhyjaWmpTZpMyoGOfxbSXc+wIhAMOTTk914V9PVgUWvrwU1Rn1nqrrsTC8o8IMs/KcEuQR"}]},"_npmUser":{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"},"maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/leaflet.control.layers.tree_1.2.0_1760291871767_0.3500069326058972"},"_hasShrinkwrap":false}},"time":{"created":"2017-08-17T14:35:39.471Z","modified":"2025-10-12T17:57:52.141Z","0.0.1":"2017-08-17T14:35:39.471Z","0.0.2":"2017-08-27T12:07:54.948Z","0.0.3":"2018-01-20T23:19:45.085Z","0.1.0":"2019-01-19T17:02:32.728Z","0.1.1":"2019-01-20T09:44:30.111Z","1.0.0":"2019-11-24T21:01:45.825Z","1.0.1":"2020-10-03T10:04:40.949Z","1.0.2":"2020-10-03T10:11:52.720Z","1.1.0":"2021-03-26T11:42:34.952Z","1.1.1":"2025-01-20T19:00:47.061Z","1.2.0":"2025-10-12T17:57:51.955Z"},"bugs":{"url":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/issues"},"author":{"name":"Javier Jimenez Shaw"},"license":"BSD-3-Clause","homepage":"https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree#readme","keywords":["Leaflet","map","geo","tree","control","layers"],"repository":{"type":"git","url":"git+https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree.git"},"description":"Control Layers in a Tree structure","maintainers":[{"name":"jjimenezshaw","email":"j1@jimenezshaw.com"}],"readme":"# Leaflet.Control.Layers.Tree\n\n[![CI](https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/actions/workflows/main.yml/badge.svg)](https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree/actions/workflows/main.yml)\n[![NPM version](https://img.shields.io/npm/v/leaflet.control.layers.tree.svg)](https://www.npmjs.com/package/leaflet.control.layers.tree)\n[![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg?style=flat)](LICENSE)\n[![Leaflet 1.x compatible!](https://img.shields.io/badge/Leaflet%201.x-%E2%9C%93-1EB300.svg?style=flat)](https://leafletjs.com/reference.html)\n\nA Tree Layers Control for Leaflet.\n\n## Description\n\nThis plugin extends [`Control.Layers`](https://leafletjs.com/reference.html#control-layers) allowing a tree structure for the layers layout. In `Control.Layers` you can only display a flat list of layers (baselayers and overlays), that is usually enough for small sets. If you have a long list of baselayers or overlays, and you want to organize them in a tree (allowing the user collapse and expand branches), this is a good option.\n\n[Some live examples here](https://jjimenezshaw.github.io/Leaflet.Control.Layers.Tree/examples/)\n\n## Installation\n\nUsing npm for browserify `npm install leaflet.control.layers.tree` (and `require('leaflet.control.layers.tree')`), or just download `L.Control.Layers.Tree.js` and `L.Control.Layers.Tree.css` and add a script and link tag for it in your html.\n\n## Compatibility\n\nThis plugin is tested with Leaflet 1.9.4 (previously with 1.0.3, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.1, 1.6.0, 1.7.1). Now also with Leaflet 2.0 alpha!\n\nThis plugin supports TypeScript. See file [L.Control.Layers.Tree.d.ts](L.Control.Layers.Tree.d.ts)\n\n## Usage\n\n1. Create your layers. Do this as usual.\n2. Create your layers tree, like the one just below.\n3. Create the control and add to the map: `L.control.layers.tree(baseTree, overlaysTree, options).addTo(map);`\n4. Voilà!\n\n```javascript\nvar baseTree = {\n    label: 'Base Layers',\n    children: [\n        {\n            label: 'World &#x1f5fa;',\n            children: [\n                { label: 'OpenStreetMap', layer: osm },\n                { label: 'Esri', layer: esri },\n                { label: 'Google Satellite', layer: g_s },\n                /* ... */\n            ]\n        },\n        {\n            label: 'Europe',\n            children: [\n                { label: 'France', layer: france },\n                { label: 'Germany', layer: germany },\n                { label: 'Spain', layer: spain },\n                /* ... */\n            ]\n        },\n        {\n            label: 'USA',\n            children: [\n                {\n                    label: 'General',\n                    children: [\n                        { label: 'Nautical', layer: usa_naut },\n                        { label: 'Satellite', layer: usa_sat },\n                        { label: 'Topographical', layer: usa_topo },\n                    ]\n                },\n                {\n                    label: 'States',\n                    children: [\n                        { label: 'CA', layer: usa_ca },\n                        { label: 'NY', layer: usa_ny },\n                        /* ... */\n                    ]\n                }\n            ]\n        },\n    ]\n};\n```\n\n![small tree sample](smalltree.png)\n\n```javascript\nvar overlaysTree = {\n    label: 'Points of Interest',\n    selectAllCheckbox: 'Un/select all',\n    children: [\n        {\n            label: 'Europe',\n            selectAllCheckbox: true,\n            children: [\n                {\n                    label: 'France',\n                    selectAllCheckbox: true,\n                    children: [\n                        { label: 'Tour Eiffel', layer: L.marker([48.8582441, 2.2944775]) },\n                        { label: 'Notre Dame', layer: L.marker([48.8529540, 2.3498726]) },\n                        { label: 'Louvre', layer: L.marker([48.8605847, 2.3376267]) },\n                    ]\n                }, {\n                    label: 'Germany',\n                    selectAllCheckbox: true,\n                    children: [\n                        { label: 'Branderburger Tor', layer: L.marker([52.5162542, 13.3776805])},\n                        { label: 'Kölner Dom', layer: L.marker([50.9413240, 6.9581201])},\n                    ]\n                }, {\n                    label: 'Spain',\n                    selectAllCheckbox: 'De/seleccionar todo',\n                    children: [\n                        { label: 'Palacio Real', layer: L.marker([40.4184145, -3.7137051])},\n                        { label: 'La Alhambra', layer: L.marker([37.1767829, -3.5892795])},\n                    ]\n                }\n            ]\n        }, {\n            label: 'Asia',\n            selectAllCheckbox: true,\n            children: [\n                {\n                    label: 'Jordan',\n                    selectAllCheckbox: true,\n                    children: [\n                        { label: 'Petra', layer: L.marker([30.3292215, 35.4432464]) },\n                        { label: 'Wadi Rum', layer: L.marker([29.6233486, 35.4390656]) }\n                    ]\n                }, {\n                /* ... */\n                }\n            ]\n        }\n    ]\n}\n```\n\n![smalloverlay sample](smalloverlay.png)\n\n## API\n\n### `L.Control.Layers.Tree`\n\nThe main (and only) 'class' involved in this plugin. It extends `L.Control.Layers`, so most of its methods are available. `addBaseLayer`, `addOverlay` and `removeLayer` are non usable in `L.Control.Layers.Tree`.\n\n#### `L.control.layers.tree(baseTree, overlayTree, options)`\n\nCreates the control. The arguments are:\n\n* `baseTree`: `<Object>` or `<Array>` Tree defining the base layers (like the one above). You can also provide an `Array` of nodes, if you want to start with a flat level.\n* `overlayTree`: `<Object>` or `<Array>` Similar than baseTree, but for overlays.\n* `options`: `<Object>` specific options for the tree. See that it includes `L.Control.Layer` [options](https://leafletjs.com/reference.html#control-layers)\n\n##### constructor options\n\n* `closedSymbol`: `<String>` Symbol displayed on a closed node (that you can click to open). Default '+'.\n* `openedSymbol`: `<String>` Symbol displayed on a opened node (that you can click to close). Default '&minus;' (`&minus;`).\n* `spaceSymbol`: `<String>` Symbol between the closed or opened symbol, and the text. Default ' ' (a normal space).\n* `selectorBack`: `<Boolean>` Flag to indicate if the selector (+ or &minus;) is _after_ the text. Default 'false'.\n* `namedToggle`: `<Boolean>` Flag to replace the toggle image (box with the layers image) with the 'name' of the selected base layer. If the `name` field is not present in the tree for this layer, `label` is used. See that you can show a different name when control is collapsed than the one that appears in the tree when it is expanded. Your node in the tree can be `{ label: 'OSM', name: 'OpenStreetMap', layer: layer }`. Default 'false'.\n* `collapseAll`: `<String>` Text for an entry in control that collapses the tree (baselayers or overlays). If empty, no entry is created. Default ''.\n* `expandAll`: `<String>` Text for an entry in control that expands the tree. If empty, no entry is created. Default ''.\n* `labelIsSelector`: `<String>` Controls if a label or only the checkbox/radiobutton can toggle layers. If set to `both`, `overlay` or `base` those labels can be clicked on to toggle the layer. Default 'both'.\n\nSee that those strings can be html code, with unicode, images or whatever you want.\n\n#### `setBaseTree(tree)`\n\nResets the base layers tree (like in constructor, an `<Object>` or `<Array>`). Internally removes and adds all the layers, so you may be notified if you registered those events. Returns `this`.\n\n#### `setOverlayTree(tree)`\n\nResets the overlay layers tree (like in constructor, an `<Object>` or `<Array>`). Internally removes and adds all the layers, so you may be notified if you registered those events. Returns `this`.\n\n#### `expandTree(overlays)`\n\nThis method expands the tree. When `overlays` is `true` expands the overlays tree. Otherwise expands the baselayers tree. Returns `this`.\n\n#### `collapseTree(overlays)`\n\nThis method collapses the tree. When `overlays` is `true` collapses the overlays tree. Otherwise collapses the baselayers tree. Returns `this`.\n\n#### `expandSelected(overlays)`\n\nThis method expands only the selected item in the tree. When `overlays` is `true` affects the overlays tree. Otherwise affects the baselayers tree. Returns `this`.\n\n## Tricks about the tree\n\nThe layers tree is a normal `Object`s tree like in the example above. The valid elements are:\n\n* `children`: `<Array>` Array of children nodes for this node. Nothing special.\n* `label`: `<String>` Text displayed in the tree for this node. It may contain HTML code.\n* `layer`: `<L.Layer>` The layer itself. You can create with `L.tileLayer`, `L.marker`, or however you want.\n* `name`: `<String>` Text displayed in the toggle when control is minimized. If not present, `label` is used. It makes sense only when `namedToggle` is `true`, and with base layers.\n* `radioGroup`: `<String>` Text to identify different radio button groups. It is used in the `name` attribute in the [radio button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio). It is used only in the overlays layers (ignored in the base layers), allowing you to have radio buttons instead of checkboxes. See that radio groups cannot be unselected, so create a 'fake' layer (like `L.layersGroup([])`) if you want to disable it. Default `''` (that means checkbox).\n* `collapsed`: `<Boolean>` Indicate whether this tree node should be collapsed initially, useful for opening large trees partially based on user input or context. Disabled by default.\n* `selectAllCheckbox`: `<Boolean>` or `<String>` Displays a checkbox to select/unselect all overlays in the sub-tree. In case of being a `<String>`, that text will be the title (tooltip). When any overlay in the sub-tree is clicked, the checkbox goes into `indeterminate` state (a dash in the box).\n* `eventedClasses`: `<Array>` or `<Object>`. [Advanced functionality to access nodes of the tree. Use carefully] Object (or array of objects) to define events on the `label`. Now you can specify a way to select all the sub-nodes in the overlay tree inspecting the tree. The object contains:\n  * `className`: `<String>`. Will add an event on the first element with this class name in this node.\n  * `event`: `<String>` (optional). Event to trigger. By default is `click`.\n  * `selectAll`: `<Boolean>` or `<Function>`. `true` selects all the checkboxes in the subnodes. `false` unselects all. In case of using a `<Function>` (that should return a `Boolean` or `undefined`), it will be called with `(ev, domNode, treeNode, map)`, where:\n    * `ev`: event triggered.\n    * `domNode`: DOM node that includes the label and all the children.\n    * `treeNode`: node of this tree affected. Be careful. Modifying it may produce undefined behaviours.\n    * `map`: map associated with the control.\n\nYou can see an example of a baselayers tree (the javascript code) above. You can provide a tree, or an array of trees.\n\nNon leaf nodes (that is, those with `children`) can also have a layer. In this case you will be able to select the layer, and only the icon will collapse or expand this branch.\n\nYou can include HTML code, not only ascii chars, in the `label` attribute. It will be included as `innerHTML`. Be careful with unicodes, because not every browser supports them all.\n\nA leaf node without `layer` attribute is also possible. Only with `label`. This can be used to include special commands calling a javascript function, or a separator, or whatever you like. An example of separator node is\n\n```javascript\n{label: '<div class=\"leaflet-control-layers-separator\"></div>'}\n```\n","readmeFilename":"README.md"}