{"_id":"@aredtech/osm-indoor-edit-maplibre","_rev":"3-dbfa6575a21f7919260e1b027e10e2df","name":"@aredtech/osm-indoor-edit-maplibre","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0":{"name":"@aredtech/osm-indoor-edit-maplibre","version":"0.0.0","_id":"@aredtech/osm-indoor-edit-maplibre@0.0.0","maintainers":[{"name":"aredtech","email":"techyared.main@gmail.com"}],"dist":{"shasum":"769f5b12c06616e229da9a4fa7c7adaa7bb33123","tarball":"https://registry.npmjs.org/@aredtech/osm-indoor-edit-maplibre/-/osm-indoor-edit-maplibre-0.0.0.tgz","fileCount":10,"integrity":"sha512-1dn+YMNHePwFnCt6BlIGpfobhM5DxDYOOooGYv8d+e6hlnVz7b2OG6h3BCwVkgJjR2tLKYin+uHSuBcw9HnR3g==","signatures":[{"sig":"MEYCIQCp8Ej7U5PHDS6enfJePWJZnUnu6pqDVfQT+mEyQHnOggIhAJcsG8Bvooy6flTNzzBJs0CkGmb+4QCADr+m7j+XG6O+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34477},"main":"./dist/index.js","type":"module","_from":"file:aredtech-osm-indoor-edit-maplibre-0.0.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"build":"tsc -b","typecheck":"tsc -b --noEmit"},"_npmUser":{"name":"aredtech","email":"techyared.main@gmail.com"},"_resolved":"/private/var/folders/t6/h_9039x530199j4mklytctdc0000gp/T/bae63660451d49a18eef387ec99af12a/aredtech-osm-indoor-edit-maplibre-0.0.0.tgz","_integrity":"sha512-1dn+YMNHePwFnCt6BlIGpfobhM5DxDYOOooGYv8d+e6hlnVz7b2OG6h3BCwVkgJjR2tLKYin+uHSuBcw9HnR3g==","_npmVersion":"11.9.0","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"@aredtech/osm-indoor-edit":"0.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"maplibre-gl":"^5.0.0"},"peerDependencies":{"maplibre-gl":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/osm-indoor-edit-maplibre_0.0.0_1778607936047_0.1261577892597825","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aredtech/osm-indoor-edit-maplibre","version":"0.1.0","_id":"@aredtech/osm-indoor-edit-maplibre@0.1.0","maintainers":[{"name":"aredtech","email":"techyared.main@gmail.com"}],"homepage":"https://github.com/aredtech/osm-indoor-edit#readme","bugs":{"url":"https://github.com/aredtech/osm-indoor-edit/issues"},"dist":{"shasum":"cdb59f1d85705e021ec5235f1c933eb74b646a9a","tarball":"https://registry.npmjs.org/@aredtech/osm-indoor-edit-maplibre/-/osm-indoor-edit-maplibre-0.1.0.tgz","fileCount":11,"integrity":"sha512-W8WNCS96j8FrV4RWCl/HaJjtqCT+PLXICYg12vbVS7/nsHL4dRYXnrFvYyYv6Hg5BRHuBylfOabnmtDGz2m/qQ==","signatures":[{"sig":"MEUCIDeHye2svxHGdgofIk9wQIj64C9C79HxGfnyrgGVsIumAiEAloci7DrQdYMmC6Azm4g0eAf5LYJPJ71g54cSptmp78E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36321},"main":"./dist/index.js","type":"module","_from":"file:aredtech-osm-indoor-edit-maplibre-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"build":"tsc -b","typecheck":"tsc -b --noEmit"},"_npmUser":{"name":"aredtech","email":"techyared.main@gmail.com"},"_resolved":"/private/var/folders/t6/h_9039x530199j4mklytctdc0000gp/T/cfbdb7998e41a999faf6678cf877c0e3/aredtech-osm-indoor-edit-maplibre-0.1.0.tgz","_integrity":"sha512-W8WNCS96j8FrV4RWCl/HaJjtqCT+PLXICYg12vbVS7/nsHL4dRYXnrFvYyYv6Hg5BRHuBylfOabnmtDGz2m/qQ==","repository":{"url":"git+ssh://git@github.com/aredtech/osm-indoor-edit.git","type":"git","directory":"packages/maplibre"},"_npmVersion":"11.9.0","description":"MapLibre GL JS renderer adapter for `@aredtech/osm-indoor-edit`.","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"@aredtech/osm-indoor-edit":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"maplibre-gl":"^5.0.0"},"peerDependencies":{"maplibre-gl":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/osm-indoor-edit-maplibre_0.1.0_1778608747227_0.9271197715190775","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aredtech/osm-indoor-edit-maplibre","version":"0.1.1","private":false,"type":"module","repository":{"type":"git","url":"git+ssh://git@github.com/aredtech/osm-indoor-edit.git","directory":"packages/maplibre"},"homepage":"https://github.com/aredtech/osm-indoor-edit#readme","bugs":{"url":"https://github.com/aredtech/osm-indoor-edit/issues"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"sideEffects":false,"peerDependencies":{"maplibre-gl":"^5.0.0"},"dependencies":{"@aredtech/osm-indoor-edit":"0.1.1"},"devDependencies":{"maplibre-gl":"^5.0.0"},"scripts":{"build":"tsc -b","typecheck":"tsc -b --noEmit"},"_id":"@aredtech/osm-indoor-edit-maplibre@0.1.1","description":"MapLibre GL JS renderer adapter for `@aredtech/osm-indoor-edit`.","_integrity":"sha512-qfHQJhuLudq3pT/l9iBGgZTjU4uOBSMglEduV3x2Olz6biLKZkvRY/I2kyRmhV+bIctqN8t6lCLsmNbpG2o52g==","_resolved":"/private/var/folders/t6/h_9039x530199j4mklytctdc0000gp/T/e81888b288808c6b1577ba0b76cc5f53/aredtech-osm-indoor-edit-maplibre-0.1.1.tgz","_from":"file:aredtech-osm-indoor-edit-maplibre-0.1.1.tgz","_nodeVersion":"25.6.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-qfHQJhuLudq3pT/l9iBGgZTjU4uOBSMglEduV3x2Olz6biLKZkvRY/I2kyRmhV+bIctqN8t6lCLsmNbpG2o52g==","shasum":"412fcb468aa759847e5c8d0f9cc2e79d3f1a1b58","tarball":"https://registry.npmjs.org/@aredtech/osm-indoor-edit-maplibre/-/osm-indoor-edit-maplibre-0.1.1.tgz","fileCount":11,"unpackedSize":38448,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCo1PRG9ffN9NB5OdU2L9ttV4ad4uGig1iWJrrxIRR1dgIgULJfCXNh4BuLteiQ0/SgM+yJcMgHL4Xfei/z00SuyzA="}]},"_npmUser":{"name":"aredtech","email":"techyared.main@gmail.com"},"directories":{},"maintainers":[{"name":"aredtech","email":"techyared.main@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/osm-indoor-edit-maplibre_0.1.1_1778663304496_0.04988669054126449"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-12T17:45:35.969Z","modified":"2026-05-13T09:08:24.758Z","0.0.0":"2026-05-12T17:45:36.219Z","0.1.0":"2026-05-12T17:59:07.369Z","0.1.1":"2026-05-13T09:08:24.636Z"},"bugs":{"url":"https://github.com/aredtech/osm-indoor-edit/issues"},"homepage":"https://github.com/aredtech/osm-indoor-edit#readme","repository":{"type":"git","url":"git+ssh://git@github.com/aredtech/osm-indoor-edit.git","directory":"packages/maplibre"},"description":"MapLibre GL JS renderer adapter for `@aredtech/osm-indoor-edit`.","maintainers":[{"name":"aredtech","email":"techyared.main@gmail.com"}],"readme":"# @aredtech/osm-indoor-edit-maplibre\n\nMapLibre GL JS renderer adapter for `@aredtech/osm-indoor-edit`.\n\nThis package connects the headless Osm Indoor editing core to a MapLibre map. It handles SDK-owned sources, layers, pointer behavior, and editing visuals while your application keeps ownership of UI, save flows, backend integration, and publishing decisions.\n\n## Install\n\n```sh\nnpm install @aredtech/osm-indoor-edit @aredtech/osm-indoor-edit-maplibre maplibre-gl\n```\n\n`maplibre-gl` is a peer dependency.\n\n## Basic usage\n\n```ts\nimport maplibregl from \"maplibre-gl\";\nimport { createEditor } from \"@aredtech/osm-indoor-edit\";\nimport { createMapLibreAdapter } from \"@aredtech/osm-indoor-edit-maplibre\";\n\nconst map = new maplibregl.Map({\n  container: \"map\",\n  style: \"https://demotiles.maplibre.org/style.json\",\n  center: [0, 0],\n  zoom: 19,\n});\n\nconst adapter = createMapLibreAdapter({ map });\nconst editor = createEditor({ adapter });\n\neditor.startDrawing(\"area\");\neditor.setActiveLevel(\"1\");\n```\n\n## What this adapter provides\n\n- MapLibre pointer handling for editor operations\n- GeoJSON sources for temporary and committed editing geometry\n- SDK-owned editing layers and handles\n- Level-aware visibility updates\n- Style translation from SDK feature records to MapLibre source data\n\n## Package pairing\n\nUse this package with:\n\n- `@aredtech/osm-indoor-edit` for the editor core\n- `maplibre-gl` for the map renderer\n\nFor Leaflet projects, use `@aredtech/osm-indoor-edit-leaflet` instead.\n\n## Repository\n\nhttps://github.com/aredtech/osm-indoor-edit\n","readmeFilename":"README.md"}