{"_id":"@duxor/agm-drawing","_rev":"2-74ad02cff4657665a518c09dfb228221","name":"@duxor/agm-drawing","dist-tags":{"latest":"18.0.0"},"versions":{"17.0.0":{"name":"@duxor/agm-drawing","version":"17.0.0","keywords":["angular-google-maps","angular","google-maps","agm","map-drawing"],"author":{"name":"Feliks Khantsis"},"license":"MIT","_id":"@duxor/agm-drawing@17.0.0","maintainers":[{"name":"duxor","email":"dullle@live.com"}],"homepage":"https://angular-maps.com","bugs":{"url":"https://github.com/SebastianM/angular-google-maps/issues"},"dist":{"shasum":"855c4c0996eba18fe56daa51f15f1c27b1889b14","tarball":"https://registry.npmjs.org/@duxor/agm-drawing/-/agm-drawing-17.0.0.tgz","fileCount":16,"integrity":"sha512-JCxzaVfcroJducSxjGQGzTUTHEaGOvgta6/etSKVTULhX7hWrPRJRHUaSktDhZgF30NNSP6pv9b/mPGxZerm4g==","signatures":[{"sig":"MEUCIQDy5KqjqNssIIjPZKnwTZiBub9KdOOM9g6mA8+zyTY3AgIgXpzY7BRshiOKuF3Q4+7nIYGdMT+mPJqCl8bjA4kwS7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63002},"module":"fesm2022/duxor-agm-drawing.mjs","exports":{".":{"esm":"./esm2022/duxor-agm-drawing.mjs","types":"./index.d.ts","default":"./fesm2022/duxor-agm-drawing.mjs","esm2022":"./esm2022/duxor-agm-drawing.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"ee9be37e309ac5c6604403d6ca6047c3265440b2","typings":"index.d.ts","_npmUser":{"name":"duxor","email":"dullle@live.com"},"repository":{"url":"git+https://github.com/duxor/angular-google-maps.git","type":"git"},"_npmVersion":"10.2.3","description":"Angular Google Maps (AGM) extension for google maps drawing library","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","dependencies":{"tslib":"^2.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=9.1.0 <18.0.0","@angular/common":">=9.1.0 <18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agm-drawing_17.0.0_1710108555341_0.027514204639057516","host":"s3://npm-registry-packages"}},"17.0.1":{"name":"@duxor/agm-drawing","version":"17.0.1","keywords":["angular-google-maps","angular","google-maps","agm","map-drawing"],"author":{"name":"Feliks Khantsis"},"license":"MIT","_id":"@duxor/agm-drawing@17.0.1","maintainers":[{"name":"duxor","email":"dullle@live.com"}],"homepage":"https://angular-maps.com","bugs":{"url":"https://github.com/SebastianM/angular-google-maps/issues"},"dist":{"shasum":"aa98f083be6c1ce7a02d3626bb4dd0008a59688e","tarball":"https://registry.npmjs.org/@duxor/agm-drawing/-/agm-drawing-17.0.1.tgz","fileCount":16,"integrity":"sha512-OzUvikFftG1+7oMSvSdRRPywo2gHDcHYbagQzzf3NcFCdq43O4e/IRKp07ffK+e31xFzgPz6WB4ic/tQpRqa8g==","signatures":[{"sig":"MEUCIGD4wfGVtND9BNOBwZK+TYspZF5XlywqNdD8OUX2/BJIAiEA1QWJQ2SAMZOYTsFy/obHguq9jG4X6vth5edMS9r6nmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63090},"module":"fesm2022/duxor-agm-drawing.mjs","exports":{".":{"esm":"./esm2022/duxor-agm-drawing.mjs","types":"./index.d.ts","default":"./fesm2022/duxor-agm-drawing.mjs","esm2022":"./esm2022/duxor-agm-drawing.mjs"},"./package.json":{"default":"./package.json"}},"gitHead":"41f82d944922a862fad629eb9f80e3da548674d0","typings":"index.d.ts","_npmUser":{"name":"duxor","email":"dullle@live.com"},"repository":{"url":"git+https://github.com/duxor/angular-google-maps.git","type":"git"},"_npmVersion":"10.2.3","description":"Angular Google Maps (AGM) extension for google maps drawing library","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","dependencies":{"tslib":"^2.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@angular/core":">=9.1.0 <18.0.0","@angular/common":">=9.1.0 <18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agm-drawing_17.0.1_1710113446635_0.3237732235768336","host":"s3://npm-registry-packages"}},"18.0.0":{"name":"@duxor/agm-drawing","version":"18.0.0","description":"Angular Google Maps (AGM) extension for google maps drawing library","author":{"name":"Feliks Khantsis"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/duxor/angular-google-maps.git"},"bugs":{"url":"https://github.com/SebastianM/angular-google-maps/issues"},"homepage":"https://angular-maps.com","keywords":["angular-google-maps","angular","google-maps","agm","map-drawing"],"peerDependencies":{"@angular/common":">=9.1.0 <19.0.0","@angular/core":">=9.1.0 <19.0.0"},"dependencies":{"tslib":"^2.0.0"},"module":"fesm2022/duxor-agm-drawing.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2022":"./esm2022/duxor-agm-drawing.mjs","esm":"./esm2022/duxor-agm-drawing.mjs","default":"./fesm2022/duxor-agm-drawing.mjs"}},"sideEffects":false,"_id":"@duxor/agm-drawing@18.0.0","gitHead":"76b7d508cb1f0a3e9aa2f62aa681af7434f2eb1f","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2y6IJW6WZ54RpF0LknruC2X98CfcIEylBDohf2vLbUJaEzHr4ECc/Xyxy6QJzQ4Jbz/4vi19oxpstki3R4lZrA==","shasum":"f1aab4a2de95149f8b6a6ba7926f8213643616bf","tarball":"https://registry.npmjs.org/@duxor/agm-drawing/-/agm-drawing-18.0.0.tgz","fileCount":16,"unpackedSize":62905,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTnkQGzyzW1M/MhttH18bP7UE8OEC5htDp6jjVUFBEuAIhAIn6OO66qaGk3GDVt9QH/FXjXkYDEoHfWG3RGmORP8sI"}]},"_npmUser":{"name":"duxor","email":"dullle@live.com"},"directories":{},"maintainers":[{"name":"duxor","email":"dullle@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agm-drawing_18.0.0_1725564742674_0.004638708401172087"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-10T22:09:15.215Z","modified":"2024-09-05T19:32:23.035Z","17.0.0":"2024-03-10T22:09:15.526Z","17.0.1":"2024-03-10T23:30:46.844Z","18.0.0":"2024-09-05T19:32:22.863Z"},"bugs":{"url":"https://github.com/SebastianM/angular-google-maps/issues"},"author":{"name":"Feliks Khantsis"},"license":"MIT","homepage":"https://angular-maps.com","keywords":["angular-google-maps","angular","google-maps","agm","map-drawing"],"repository":{"type":"git","url":"git+https://github.com/duxor/angular-google-maps.git"},"description":"Angular Google Maps (AGM) extension for google maps drawing library","maintainers":[{"name":"duxor","email":"dullle@live.com"}],"readme":"# Map Drawing for AGM\n\n-----\n\nthis package adds drawing support to [AGM][agm].\n\n## Installation\n\n```sh\nnpm install @duxor/agm-drawing\n# or\nyarn add @duxor/agm-drawing\n```\n\n## Usage\n\n1. Import the module\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { AppComponent } from './app.component'\n// add these imports\nimport { AgmCoreModule } from '@duxor/agm-core';\nimport { AgmDrawingModule } from '@duxor/agm-drawing'\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    AgmCoreModule.forRoot({\n      apiKey: ['YOUR_API_KEY_HERE'],\n      libraries: ['drawing']\n    }),\n    AgmDrawingModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n2. use it in your template\n\n```html\n<agm-map style=\"height: 300px\" [latitude]=\"51.673858\" [longitude]=\"7.815982\" [agmDrawingManager]=\"drawing\">\n</agm-map>\n<agm-drawing-manager #drawing=\"agmDrawingManager\" [drawingMode]=\"'circle'\" [circleOptions]=\"{fillColor:'red', radius: 150}\"></agm-drawing-manager>\n```\n\n\n[drawing-manager]: https://developers.google.com/maps/documentation/javascript/reference/#drawing\n[agm]: https://angular-maps.com/\n","readmeFilename":"README.md"}