├── projects
├── sample-popup
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── favicon.ico
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ └── protractor.conf.js
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-route
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── favicon.ico
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-search
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-traffic
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ ├── app.component.ts
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── favicon.ico
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-bubble-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-html-markers
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-image-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ ├── app.module.ts
│ │ │ └── app.component.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-lazy-loading
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.css
│ │ │ ├── map
│ │ │ │ ├── map
│ │ │ │ │ ├── map.component.css
│ │ │ │ │ ├── map.component.html
│ │ │ │ │ ├── map.component.ts
│ │ │ │ │ └── map.component.spec.ts
│ │ │ │ └── map.module.ts
│ │ │ ├── app.component.ts
│ │ │ ├── app-routing.module.ts
│ │ │ └── app.module.ts
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── styles.css
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── main.ts
│ │ └── test.ts
│ ├── tslint.json
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ └── tsconfig.json
│ ├── tsconfig.app.json
│ └── tsconfig.spec.json
├── sample-line-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-simple-map
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── styles.scss
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ ├── app.component.ts
│ │ │ └── app.module.ts
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-symbol-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-tile-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ ├── app.component.ts
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── ng-azure-maps
│ ├── .gitignore
│ ├── src
│ │ ├── lib
│ │ │ ├── models
│ │ │ │ ├── index.ts
│ │ │ │ └── search
│ │ │ │ │ ├── extended-postal-codes.ts
│ │ │ │ │ ├── search-poi-category-tree-optional-params.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── search-poi-category-tree-response.ts
│ │ │ ├── helpers
│ │ │ │ ├── index.ts
│ │ │ │ └── token-credential.ts
│ │ │ ├── modules
│ │ │ │ └── index.ts
│ │ │ ├── configuration
│ │ │ │ ├── index.ts
│ │ │ │ └── ng-azure-maps-configuration.ts
│ │ │ ├── interceptors
│ │ │ │ └── index.ts
│ │ │ ├── contracts
│ │ │ │ ├── map-event.ts
│ │ │ │ ├── popup-event.ts
│ │ │ │ ├── marker-event.ts
│ │ │ │ ├── layer-event.ts
│ │ │ │ └── index.ts
│ │ │ ├── services
│ │ │ │ ├── index.ts
│ │ │ │ └── atlas-http.service.ts
│ │ │ └── directives
│ │ │ │ ├── controls
│ │ │ │ ├── control.directive.ts
│ │ │ │ ├── zoom-control.directive.ts
│ │ │ │ ├── pitch-control.directive.ts
│ │ │ │ ├── compass-control.directive.ts
│ │ │ │ └── style-control.directive.ts
│ │ │ │ └── layers
│ │ │ │ └── source-layer-directive.ts
│ │ └── test.ts
│ ├── ng-package.json
│ ├── tsconfig.lib.prod.json
│ ├── tsconfig.spec.json
│ └── tsconfig.lib.json
├── sample-drawing-toolbar
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── test.ts
│ │ └── index.html
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-heatmap-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── app
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-map-with-controls
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── favicon.ico
│ │ ├── app
│ │ │ ├── app.component.scss
│ │ │ ├── app.component.ts
│ │ │ ├── app.component.html
│ │ │ └── app.module.ts
│ │ ├── main.ts
│ │ ├── .browserslistrc
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ └── tsconfig.spec.json
├── sample-polygon-layer
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-weather-service
│ ├── src
│ │ ├── assets
│ │ │ ├── .gitkeep
│ │ │ └── weather-icons
│ │ │ │ ├── 1.png
│ │ │ │ ├── 2.png
│ │ │ │ ├── 3.png
│ │ │ │ ├── 4.png
│ │ │ │ ├── 5.png
│ │ │ │ ├── 6.png
│ │ │ │ ├── 7.png
│ │ │ │ ├── 8.png
│ │ │ │ ├── 11.png
│ │ │ │ ├── 12.png
│ │ │ │ ├── 13.png
│ │ │ │ ├── 14.png
│ │ │ │ ├── 15.png
│ │ │ │ ├── 16.png
│ │ │ │ ├── 17.png
│ │ │ │ ├── 18.png
│ │ │ │ ├── 19.png
│ │ │ │ ├── 20.png
│ │ │ │ ├── 21.png
│ │ │ │ ├── 22.png
│ │ │ │ ├── 23.png
│ │ │ │ ├── 24.png
│ │ │ │ ├── 25.png
│ │ │ │ ├── 26.png
│ │ │ │ ├── 29.png
│ │ │ │ ├── 30.png
│ │ │ │ ├── 31.png
│ │ │ │ ├── 32.png
│ │ │ │ ├── 33.png
│ │ │ │ ├── 34.png
│ │ │ │ ├── 35.png
│ │ │ │ ├── 36.png
│ │ │ │ ├── 37.png
│ │ │ │ ├── 38.png
│ │ │ │ ├── 39.png
│ │ │ │ ├── 40.png
│ │ │ │ ├── 41.png
│ │ │ │ ├── 42.png
│ │ │ │ ├── 43.png
│ │ │ │ └── 44.png
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tsconfig.app.json
│ ├── e2e
│ │ ├── tsconfig.json
│ │ └── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── sample-dynamic-configuration
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.component.ts
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── main.ts
│ │ └── test.ts
│ ├── tslint.json
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ └── tsconfig.json
│ ├── tsconfig.app.json
│ └── tsconfig.spec.json
├── sample-vector-tile-source
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ └── app.module.ts
│ │ ├── styles.scss
│ │ ├── environments
│ │ │ ├── environment.prod.ts
│ │ │ └── environment.ts
│ │ ├── favicon.ico
│ │ ├── main.ts
│ │ ├── index.html
│ │ └── test.ts
│ ├── tslint.json
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ └── tsconfig.json
│ ├── tsconfig.app.json
│ └── tsconfig.spec.json
├── sample-configuration-injection
│ ├── src
│ │ ├── assets
│ │ │ └── .gitkeep
│ │ ├── styles.scss
│ │ ├── app
│ │ │ ├── app.component.html
│ │ │ ├── app.component.scss
│ │ │ ├── app.component.ts
│ │ │ └── app.module.ts
│ │ ├── environments
│ │ │ ├── environment.ts
│ │ │ └── environment.prod.ts
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── main.ts
│ │ └── test.ts
│ ├── e2e
│ │ ├── src
│ │ │ ├── app.po.ts
│ │ │ └── app.e2e-spec.ts
│ │ └── tsconfig.json
│ ├── tslint.json
│ ├── tsconfig.app.json
│ └── tsconfig.spec.json
└── sample-polygon-extrusion-layer
│ ├── src
│ ├── assets
│ │ └── .gitkeep
│ ├── styles.scss
│ ├── environments
│ │ ├── environment.ts
│ │ └── environment.prod.ts
│ ├── favicon.ico
│ ├── main.ts
│ ├── index.html
│ ├── test.ts
│ └── app
│ │ ├── app.component.scss
│ │ ├── app.module.ts
│ │ └── app.component.html
│ ├── tsconfig.app.json
│ ├── e2e
│ ├── tsconfig.json
│ └── src
│ │ ├── app.po.ts
│ │ └── app.e2e-spec.ts
│ ├── tslint.json
│ ├── tsconfig.spec.json
│ └── .browserslistrc
├── assets
├── 4mapssample.png
├── popups
│ └── popup.png
├── routes
│ └── routes.png
├── search
│ └── search.png
├── azure-map
│ ├── azure-map.png
│ ├── traffic.png
│ └── azure-map-custom.png
├── controls
│ └── controls.png
├── layers
│ ├── bubble-layer.png
│ ├── image-layer.png
│ ├── line-layer.png
│ ├── symbol-layer.png
│ ├── tile-layer.png
│ ├── heatmap-layer.png
│ ├── polygon-layer.png
│ └── polygon-extrusion-layer.png
├── markers
│ └── html-markers.png
└── drawing-toolbar
│ └── drawing-toolbar.png
├── .editorconfig
├── .eslintrc.json
├── .github
└── workflows
│ └── CI.yml
└── .gitignore
/projects/sample-popup/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-route/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-search/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-route/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-search/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/app.component.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/assets/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-route/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-search/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/models/index.ts:
--------------------------------------------------------------------------------
1 | export * from './search';
2 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/helpers/index.ts:
--------------------------------------------------------------------------------
1 | export * from './token-credential';
2 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/styles.scss:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | }
4 |
--------------------------------------------------------------------------------
/assets/4mapssample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/4mapssample.png
--------------------------------------------------------------------------------
/assets/popups/popup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/popups/popup.png
--------------------------------------------------------------------------------
/assets/routes/routes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/routes/routes.png
--------------------------------------------------------------------------------
/assets/search/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/search/search.png
--------------------------------------------------------------------------------
/assets/azure-map/azure-map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/azure-map/azure-map.png
--------------------------------------------------------------------------------
/assets/azure-map/traffic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/azure-map/traffic.png
--------------------------------------------------------------------------------
/assets/controls/controls.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/controls/controls.png
--------------------------------------------------------------------------------
/assets/layers/bubble-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/bubble-layer.png
--------------------------------------------------------------------------------
/assets/layers/image-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/image-layer.png
--------------------------------------------------------------------------------
/assets/layers/line-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/line-layer.png
--------------------------------------------------------------------------------
/assets/layers/symbol-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/symbol-layer.png
--------------------------------------------------------------------------------
/assets/layers/tile-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/tile-layer.png
--------------------------------------------------------------------------------
/assets/layers/heatmap-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/heatmap-layer.png
--------------------------------------------------------------------------------
/assets/layers/polygon-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/polygon-layer.png
--------------------------------------------------------------------------------
/assets/markers/html-markers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/markers/html-markers.png
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/styles.css:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 |
--------------------------------------------------------------------------------
/assets/azure-map/azure-map-custom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/azure-map/azure-map-custom.png
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/modules/index.ts:
--------------------------------------------------------------------------------
1 | export { AzureMapsModule, setAzureMapsConfiguration } from './ng-azure-maps-module';
2 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-popup/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-route/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-route/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | production: true
3 | };
4 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-route/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-search/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-search/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-search/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-traffic/src/favicon.ico
--------------------------------------------------------------------------------
/assets/drawing-toolbar/drawing-toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/drawing-toolbar/drawing-toolbar.png
--------------------------------------------------------------------------------
/assets/layers/polygon-extrusion-layer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/assets/layers/polygon-extrusion-layer.png
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/configuration/index.ts:
--------------------------------------------------------------------------------
1 | export { AZUREMAPS_CONFIG, AzureMapsConfiguration } from './ng-azure-maps-configuration';
2 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-line-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-popup/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-route/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-search/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-simple-map/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-tile-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/interceptors/index.ts:
--------------------------------------------------------------------------------
1 | export { AtlasRestAuthenticationInterceptor } from './atlas-rest-authentication.interceptor';
2 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-bubble-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-heatmap-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-html-markers/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-image-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-lazy-loading/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-polygon-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-symbol-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-drawing-toolbar/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-route/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-search/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | azureMapsSubscriptionKey: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-map-with-controls/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | azureMapsSubscriptionKey: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-vector-tile-source/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: false
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | export const environment = {
2 | authOptions: null,
3 | production: true
4 | };
5 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-configuration-injection/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-dynamic-configuration/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/map/map/map.component.css:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position: absolute;
3 | width: 100%;
4 | min-width: 290px;
5 | height: 100%;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-polygon-extrusion-layer/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/map/map/map.component.html:
--------------------------------------------------------------------------------
1 |
Map (which is not loading). notice how it says "Improve this map" below
2 |
3 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/contracts/map-event.ts:
--------------------------------------------------------------------------------
1 | import * as atlas from 'azure-maps-control';
2 |
3 | export interface IMapEvent {
4 | map: atlas.Map;
5 | event: any;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/1.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/2.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/3.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/4.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/5.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/6.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/7.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/8.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/11.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/12.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/13.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/14.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/15.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/16.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/17.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/18.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/19.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/20.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/21.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/22.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/23.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/24.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/25.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/26.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/29.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/30.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/31.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/31.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/32.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/33.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/33.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/34.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/34.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/35.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/35.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/36.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/37.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/37.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/38.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/38.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/39.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/39.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/40.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/41.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/41.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/42.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/42.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/43.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/43.png
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/assets/weather-icons/44.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arnaudleclerc/ng-azure-maps/HEAD/projects/sample-weather-service/src/assets/weather-icons/44.png
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/contracts/popup-event.ts:
--------------------------------------------------------------------------------
1 | import * as atlas from 'azure-maps-control';
2 |
3 | export interface IPopupEvent {
4 | popup: atlas.Popup;
5 | event: any;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/contracts/marker-event.ts:
--------------------------------------------------------------------------------
1 | import * as atlas from 'azure-maps-control';
2 |
3 | export interface IMarkerEvent {
4 | marker: atlas.HtmlMarker;
5 | event: any;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/contracts/layer-event.ts:
--------------------------------------------------------------------------------
1 | import * as atlas from 'azure-maps-control';
2 |
3 | export interface ILayerEvent {
4 | layer: atlas.layer.Layer | atlas.layer.Layer[];
5 | event: any;
6 | }
7 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/services/index.ts:
--------------------------------------------------------------------------------
1 | export { PipelineProvider } from './pipeline-provider';
2 | export { SearchService } from './search-service';
3 | export { RouteService } from './route-service';
4 | export { WeatherService } from './weather-service';
5 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/contracts/index.ts:
--------------------------------------------------------------------------------
1 | export { ILayerEvent } from './layer-event';
2 | export { IMapEvent } from './map-event';
3 | export { IMarkerEvent } from './marker-event';
4 | export { IPopupEvent } from './popup-event';
5 | export * from './weather';
6 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/models/search/extended-postal-codes.ts:
--------------------------------------------------------------------------------
1 | export enum ExtendedPostalCodes {
2 | AddressRanges = 'Addr',
3 | Geographies = 'Geo',
4 | PointAddresses = 'PAD',
5 | PointOfIntereset = 'POI',
6 | Streets = 'Str',
7 | CrossStreets = 'XStr'
8 | }
9 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/ng-package.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3 | "dest": "../../dist/ng-azure-maps",
4 | "lib": {
5 | "entryFile": "src/index.ts"
6 | },
7 | "allowedNonPeerDependencies": [
8 | "@angular/common"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.scss'],
7 | standalone: false
8 | })
9 | export class AppComponent {
10 | }
11 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # Editor configuration, see https://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | max_line_length = off
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/projects/sample-popup/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-route/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.scss'],
7 | standalone: false
8 | })
9 | export class AppComponent {
10 | }
11 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.scss'],
7 | standalone: false
8 | })
9 | export class AppComponent {
10 | }
11 |
--------------------------------------------------------------------------------
/projects/sample-search/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-traffic/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/tsconfig.lib.prod.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "./tsconfig.lib.json",
4 | "compilerOptions": {
5 | "declarationMap": false
6 | },
7 | "angularCompilerOptions": {
8 | "compilationMode": "partial"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.scss'],
7 | standalone: false
8 | })
9 | export class AppComponent {
10 | }
11 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-popup/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-route/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-search/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-traffic/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../../out-tsc/e2e",
5 | "module": "commonjs",
6 | "target": "es2018",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | templateUrl: './app.component.html',
6 | styleUrls: ['./app.component.css'],
7 | standalone: false
8 | })
9 | export class AppComponent {
10 | title = 'sample-lazy-loading';
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-popup/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-route/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-search/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-traffic/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | async navigateTo(): Promise {
5 | return browser.get(browser.baseUrl);
6 | }
7 |
8 | async getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/controls/control.directive.ts:
--------------------------------------------------------------------------------
1 | import { Input, Directive } from '@angular/core';
2 | import { ControlPosition, Map } from 'azure-maps-control';
3 |
4 | @Directive()
5 | export abstract class ControlDirective {
6 |
7 | @Input() public position: ControlPosition;
8 |
9 | public abstract initialize(map: Map): void;
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | async navigateTo(): Promise {
5 | return browser.get(browser.baseUrl);
6 | }
7 |
8 | async getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | async navigateTo(): Promise {
5 | return browser.get(browser.baseUrl);
6 | }
7 |
8 | async getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "app",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "app",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../../out-tsc/e2e",
6 | "module": "commonjs",
7 | "target": "es2018",
8 | "types": [
9 | "jasmine",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-popup/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-route/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-search/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-traffic/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../../out-tsc/e2e",
6 | "module": "commonjs",
7 | "target": "es2018",
8 | "types": [
9 | "jasmine",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/helpers/token-credential.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Using the AAD Authentication, the azure-maps-controls library seems to be based on ADAL. This will break if the switch to MSAL is done.
3 | */
4 | const atlasAccessTokenStorageKey = 'adal.access.token.keyhttps://atlas.microsoft.com/';
5 |
6 | export const getAtlasToken = (): string => localStorage.getItem(atlasAccessTokenStorageKey);
7 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../../out-tsc/e2e",
6 | "module": "commonjs",
7 | "target": "es2018",
8 | "types": [
9 | "jasmine",
10 | "node"
11 | ]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SampleLazyLoading
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
8 | :host ::ng-deep .infobox {
9 | max-width: 250px;
10 | padding: 10px;
11 | font-size: 12px;
12 | }
13 |
14 | :host ::ng-deep .infobox-2 {
15 | max-width: 250px;
16 | padding: 10px;
17 | font-size: 12px;
18 | color: white;
19 | }
--------------------------------------------------------------------------------
/projects/sample-popup/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-route/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-search/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-traffic/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/app",
6 | "types": []
7 | },
8 | "files": [
9 | "src/main.ts",
10 | "src/polyfills.ts"
11 | ],
12 | "include": [
13 | "src/**/*.d.ts"
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | import { browser, by, element } from 'protractor';
2 |
3 | export class AppPage {
4 | navigateTo(): Promise {
5 | return browser.get(browser.baseUrl) as Promise;
6 | }
7 |
8 | getTitleText(): Promise {
9 | return element(by.css('app-root .content span')).getText() as Promise;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/app",
6 | "types": []
7 | },
8 | "files": [
9 | "src/main.ts",
10 | "src/polyfills.ts"
11 | ],
12 | "include": [
13 | "src/**/*.d.ts"
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/app",
6 | "types": []
7 | },
8 | "files": [
9 | "src/main.ts",
10 | "src/polyfills.ts"
11 | ],
12 | "include": [
13 | "src/**/*.d.ts"
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/app",
6 | "types": []
7 | },
8 | "files": [
9 | "src/main.ts",
10 | "src/polyfills.ts"
11 | ],
12 | "include": [
13 | "src/**/*.d.ts"
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
8 | :host ::ng-deep .infobox {
9 | max-width: 250px;
10 | padding: 10px;
11 | font-size: 12px;
12 | }
13 |
14 | :host ::ng-deep .infobox-2 {
15 | max-width: 250px;
16 | padding: 10px;
17 | font-size: 12px;
18 | color: white;
19 | }
20 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SampleDynamicConfiguration
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/e2e/tsconfig.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../../out-tsc/e2e",
6 | "module": "commonjs",
7 | "target": "es2018",
8 | "types": [
9 | "jasmine",
10 | "jasminewd2",
11 | "node"
12 | ]
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/spec",
6 | "types": [
7 | "jasmine"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts"
12 | ],
13 | "include": [
14 | "**/*.spec.ts",
15 | "**/*.d.ts"
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SampleConfigurationInjection
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-route/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-search/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/app-routing.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { Routes, RouterModule } from '@angular/router';
3 |
4 | const routes: Routes = [
5 | {
6 | path: "map",
7 | loadChildren: () => import("./map/map.module").then(m => m.MapModule),
8 | },
9 | ];
10 |
11 | @NgModule({
12 | imports: [RouterModule.forRoot(routes)],
13 | exports: [RouterModule]
14 | })
15 | export class AppRoutingModule { }
16 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/spec",
6 | "types": [
7 | "jasmine"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/spec",
6 | "types": [
7 | "jasmine"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/main.ts:
--------------------------------------------------------------------------------
1 | import { enableProdMode } from '@angular/core';
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3 |
4 | import { AppModule } from './app/app.module';
5 | import { environment } from './environments/environment';
6 |
7 | if (environment.production) {
8 | enableProdMode();
9 | }
10 |
11 | platformBrowserDynamic().bootstrapModule(AppModule)
12 | .catch(err => console.error(err));
13 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/spec",
6 | "types": [
7 | "jasmine"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/spec",
6 | "types": [
7 | "jasmine"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "src/**/*.spec.ts",
16 | "src/**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/tsconfig.lib.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "../../tsconfig.json",
4 | "compilerOptions": {
5 | "outDir": "../../out-tsc/lib",
6 | "declaration": true,
7 | "declarationMap": true,
8 | "inlineSources": true,
9 | "types": [],
10 | "lib": [
11 | "dom",
12 | "es2018"
13 | ]
14 | },
15 | "exclude": [
16 | "src/test.ts",
17 | "**/*.spec.ts"
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/projects/sample-popup/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-route/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-search/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/services/atlas-http.service.ts:
--------------------------------------------------------------------------------
1 | import { HttpClient } from '@angular/common/http';
2 |
3 | export abstract class AtlasHttpService {
4 |
5 | private readonly _rootUrl = 'https://atlas.microsoft.com';
6 | private readonly _apiVersion = '1.0';
7 |
8 | constructor(protected readonly httpClient: HttpClient) {
9 |
10 | }
11 |
12 | protected buildUrl(path: string): string {
13 | return `${this._rootUrl}/${path}?api-version=${this._apiVersion}`;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-line-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-simple-map/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-tile-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-traffic/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-html-markers/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-weather-service/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppRoutingModule } from './app-routing.module';
5 | import { AppComponent } from './app.component';
6 |
7 | @NgModule({
8 | declarations: [
9 | AppComponent
10 | ],
11 | imports: [
12 | BrowserModule,
13 | AppRoutingModule
14 | ],
15 | providers: [],
16 | bootstrap: [AppComponent]
17 | })
18 | export class AppModule { }
19 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-popup/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SamplePopup
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 |
5 | # You can see what browsers were selected by your queries by running:
6 | # npx browserslist
7 |
8 | > 0.5%
9 | last 2 versions
10 | Firefox ESR
11 | not dead
12 | not IE 9-11 # For IE 9-11 support, remove 'not'.
--------------------------------------------------------------------------------
/projects/sample-route/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleRoute
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleLineLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-search/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleSearch
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleSimpleMap
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleTraffic
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleBubbleLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleHtmlMarkers
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SamplePolygonLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleSymbolLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | template: '' +
6 | '' +
7 | '' +
8 | '',
9 | styleUrls: ['./app.component.scss'],
10 | standalone: false
11 | })
12 | export class AppComponent {
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleTileLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/configuration/ng-azure-maps-configuration.ts:
--------------------------------------------------------------------------------
1 | import { InjectionToken } from '@angular/core';
2 | import { AuthenticationOptions } from 'azure-maps-control';
3 | import { IRetryOptions } from 'azure-maps-rest';
4 |
5 | export const AZUREMAPS_CONFIG = new InjectionToken('AZUREMAPS_CONFIG');
6 |
7 | /**
8 | * Configuration of the Azure Maps
9 | */
10 | export class AzureMapsConfiguration {
11 | authOptions: AuthenticationOptions;
12 | pipelineRetryOptions?: IRetryOptions;
13 | domain?: string;
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleHeatmapLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleImageLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleMapWithControls
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-route/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-search/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Sample Weather Service
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SamplePolygonExtrusionLayer
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleVectorTileSource
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js/testing';
4 | import { getTestBed } from '@angular/core/testing';
5 | import {
6 | BrowserDynamicTestingModule,
7 | platformBrowserDynamicTesting
8 | } from '@angular/platform-browser-dynamic/testing';
9 |
10 | // First, initialize the Angular testing environment.
11 | getTestBed().initTestEnvironment(
12 | BrowserDynamicTestingModule,
13 | platformBrowserDynamicTesting()
14 | );
15 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/test.ts:
--------------------------------------------------------------------------------
1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2 |
3 | import 'zone.js';
4 | import 'zone.js/testing';
5 | import { getTestBed } from '@angular/core/testing';
6 | import {
7 | BrowserDynamicTestingModule,
8 | platformBrowserDynamicTesting
9 | } from '@angular/platform-browser-dynamic/testing';
10 |
11 | // First, initialize the Angular testing environment.
12 | getTestBed().initTestEnvironment(
13 | BrowserDynamicTestingModule,
14 | platformBrowserDynamicTesting()
15 | );
16 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import * as atlas from 'azure-maps-control';
3 |
4 | @Component({
5 | selector: 'app-root',
6 | template: '',
7 | styleUrls: ['./app.component.scss'],
8 | standalone: false
9 | })
10 | export class AppComponent {
11 |
12 | trafficOptions: atlas.TrafficOptions = {
13 | flow: "relative",
14 | incidents: true
15 | };
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | azure-map {
2 | position:absolute;
3 | width:100%;
4 | min-width:290px;
5 | height:100%;
6 | }
7 |
8 | .legend {
9 | position: absolute;
10 | top: 1rem;
11 | left: 2rem;
12 | font-family: Arial;
13 | font-size: 12px;
14 | background-color: rgba(255, 255, 255, 0.8);
15 | border-radius: 5px;
16 | padding: 5px;
17 | line-height:20px;
18 | z-index: 10;
19 |
20 | i {
21 | width: 18px;
22 | height: 18px;
23 | float: left;
24 | margin-right: 8px;
25 | opacity: 0.7;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/projects/sample-popup/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-route/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-search/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot({
15 | authOptions: environment.authOptions
16 | })
17 | ],
18 | providers: [],
19 | bootstrap: [AppComponent]
20 | })
21 | export class AppModule { }
22 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/map/map/map.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 | import { WeatherService } from 'ng-azure-maps';
3 |
4 | @Component({
5 | selector: 'app-map',
6 | templateUrl: './map.component.html',
7 | styleUrls: ['./map.component.css'],
8 | standalone: false
9 | })
10 | export class MapComponent implements OnInit {
11 | constructor(private readonly _weatherService: WeatherService) {
12 |
13 | }
14 |
15 | ngOnInit() {
16 | this._weatherService.getCurrentConditions(11.578227, 48.135188).subscribe(result => {
17 | console.log(result);
18 | });
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SampleDrawingToolbar
7 |
8 |
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | selector: 'app-root',
5 | template: '' +
6 | '' +
7 | '' +
8 | '',
9 | styleUrls: ['./app.component.scss'],
10 | standalone: false
11 | })
12 | export class AppComponent {
13 | public coordinates = [
14 | [11.540774, 48.151994],
15 | [11.598952, 48.151994],
16 | [11.598952, 48.127172],
17 | [11.540774, 48.127172]
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/models/search/search-poi-category-tree-optional-params.ts:
--------------------------------------------------------------------------------
1 | export interface SearchPOICategoryTreeOptionalParams {
2 | /**
3 | * Language in which search results should be returned. Should be one of supported IETF language tags, except NGT and NGT-Latn. Language tag is case insensitive. When data in specified language is not available for a specific field, default language is used (English).
4 | */
5 | language?: string;
6 | }
7 |
8 | export const searchPOICategoryTreeOptionalParamsToQueryString = (options?: SearchPOICategoryTreeOptionalParams): string => {
9 | if (!options && !options.language) {
10 | return '';
11 | }
12 |
13 | return `language=${options.language}`;
14 | };
15 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
3 |
5 |
6 | Population Density (people/km
2)
7 |
8 | 0-{{colorScale[0]}}
9 |
10 |
11 | {{legendItem.label}}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/map/map.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { CommonModule } from '@angular/common';
3 | import { MapComponent } from './map/map.component';
4 | import { AzureMapsModule } from 'ng-azure-maps';
5 | import { environment } from '../../environments/environment';
6 | import { RouterModule, Routes } from '@angular/router';
7 |
8 | const routes: Routes = [{ path: "", component: MapComponent }];
9 |
10 | @NgModule({
11 | declarations: [MapComponent],
12 | imports: [
13 | CommonModule,
14 | RouterModule.forChild(routes),
15 | AzureMapsModule.forChild({
16 | authOptions: environment.authOptions
17 | })
18 | ]
19 | })
20 | export class MapModule { }
21 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule, AZUREMAPS_CONFIG } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | @NgModule({
9 | declarations: [
10 | AppComponent
11 | ],
12 | imports: [
13 | BrowserModule,
14 | AzureMapsModule.forRoot()
15 | ],
16 | providers: [
17 | {
18 | provide: AZUREMAPS_CONFIG,
19 | useValue: {
20 | authOptions: environment.authOptions
21 | }
22 | }
23 | ],
24 | bootstrap: [AppComponent]
25 | })
26 | export class AppModule { }
27 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/src/app/map/map/map.component.spec.ts:
--------------------------------------------------------------------------------
1 | import { ComponentFixture, TestBed } from '@angular/core/testing';
2 |
3 | import { MapComponent } from './map.component';
4 |
5 | describe('MapComponent', () => {
6 | let component: MapComponent;
7 | let fixture: ComponentFixture;
8 |
9 | beforeEach(async () => {
10 | await TestBed.configureTestingModule({
11 | declarations: [MapComponent]
12 | })
13 | .compileComponents();
14 | });
15 |
16 | beforeEach(() => {
17 | fixture = TestBed.createComponent(MapComponent);
18 | component = fixture.componentInstance;
19 | fixture.detectChanges();
20 | });
21 |
22 | it('should create', () => {
23 | expect(component).toBeTruthy();
24 | });
25 | });
26 |
--------------------------------------------------------------------------------
/projects/sample-popup/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-popup app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-route/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-route app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-search/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-search app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 | "ignorePatterns": [
4 | "projects/**/*"
5 | ],
6 | "overrides": [
7 | {
8 | "files": [
9 | "*.ts"
10 | ],
11 | "parserOptions": {
12 | "project": [
13 | "tsconfig.json",
14 | "e2e/tsconfig.json"
15 | ],
16 | "createDefaultProgram": true
17 | },
18 | "extends": [
19 | "plugin:@angular-eslint/recommended",
20 | "plugin:@angular-eslint/template/process-inline-templates"
21 | ],
22 | "rules": {
23 | }
24 | },
25 | {
26 | "files": [
27 | "*.html"
28 | ],
29 | "extends": [
30 | "plugin:@angular-eslint/template/recommended"
31 | ],
32 | "rules": {}
33 | }
34 | ]
35 | }
36 |
--------------------------------------------------------------------------------
/projects/sample-traffic/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-traffic app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | // This file can be replaced during build by using the `fileReplacements` array.
2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3 | // The list of file replacements can be found in `angular.json`.
4 |
5 | export const environment = {
6 | production: false
7 | };
8 |
9 | /*
10 | * For easier debugging in development mode, you can import the following file
11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
12 | *
13 | * This import should be commented out in production mode because it will have a negative impact
14 | * on performance if an error is thrown.
15 | */
16 | // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
17 |
--------------------------------------------------------------------------------
/projects/sample-image-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-image-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-line-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-line-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-simple-map/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-simple-map app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-tile-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-tile-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-bubble-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-bubble-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-heatmap-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-heatmap-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-html-markers/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-html-markers app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-polygon-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-polygon-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-symbol-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-symbol-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-weather-service/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-html-markers app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-drawing-toolbar/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-drawing-toolbar app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/controls/zoom-control.directive.ts:
--------------------------------------------------------------------------------
1 | import { Directive, Input } from '@angular/core';
2 | import * as atlas from 'azure-maps-control';
3 | import { ControlDirective } from './control.directive';
4 |
5 | @Directive({
6 | selector: '[map-zoom-control], map-zoom-control',
7 | standalone: false
8 | })
9 | export class ZoomControlDirective
10 | extends ControlDirective {
11 |
12 | @Input()
13 | public zoomDelta: number;
14 |
15 | @Input()
16 | public controlStyle: atlas.ControlStyle;
17 |
18 | public initialize(map: atlas.Map): void {
19 | map.controls.add(new atlas.control.ZoomControl({
20 | zoomDelta: this.zoomDelta,
21 | style: this.controlStyle
22 | }), {
23 | position: this.position
24 | });
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/projects/sample-map-with-controls/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-map-with-controls app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-vector-tile-source app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-lazy-loading/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', async () => {
12 | await page.navigateTo();
13 | expect(await page.getTitleText()).toEqual('sample-lazy-loading app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-vector-tile-source/src/environments/environment.ts:
--------------------------------------------------------------------------------
1 | // This file can be replaced during build by using the `fileReplacements` array.
2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
3 | // The list of file replacements can be found in `angular.json`.
4 |
5 | export const environment = {
6 | production: false,
7 | authOptions: null
8 | };
9 |
10 | /*
11 | * For easier debugging in development mode, you can import the following file
12 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
13 | *
14 | * This import should be commented out in production mode because it will have a negative impact
15 | * on performance if an error is thrown.
16 | */
17 | // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
18 |
--------------------------------------------------------------------------------
/projects/sample-polygon-extrusion-layer/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', () => {
12 | page.navigateTo();
13 | expect(page.getTitleText()).toEqual('sample-polygon-extrusion-layer app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/sample-traffic/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { NgModule } from '@angular/core';
3 |
4 | import { AppComponent } from './app.component';
5 | import { AzureMapsModule } from 'ng-azure-maps';
6 | import { environment } from '../environments/environment';
7 |
8 | import { AuthenticationType } from 'azure-maps-control';
9 |
10 | @NgModule({
11 | declarations: [
12 | AppComponent
13 | ],
14 | imports: [
15 | BrowserModule,
16 | AzureMapsModule.forRoot({
17 | authOptions: {
18 | authType: AuthenticationType.subscriptionKey,
19 | subscriptionKey: environment.azureMapsSubscriptionKey,
20 | }
21 | })
22 | ],
23 | providers: [],
24 | bootstrap: [AppComponent]
25 | })
26 | export class AppModule { }
27 |
--------------------------------------------------------------------------------
/projects/sample-dynamic-configuration/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', async () => {
12 | await page.navigateTo();
13 | expect(await page.getTitleText()).toEqual('sample-dynamic-configuration app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/controls/pitch-control.directive.ts:
--------------------------------------------------------------------------------
1 | import { Directive, Input } from '@angular/core';
2 | import { ControlDirective } from './control.directive';
3 | import * as atlas from 'azure-maps-control';
4 |
5 | @Directive({
6 | selector: '[map-pitch-control], map-pitch-control',
7 | standalone: false
8 | })
9 | export class PitchControlDirective
10 | extends ControlDirective {
11 |
12 | @Input()
13 | public pitchDegreesDelta: number;
14 |
15 | @Input()
16 | public controlStyle: atlas.ControlStyle;
17 |
18 | public initialize(map: atlas.Map): void {
19 | map.controls.add(new atlas.control.PitchControl({
20 | pitchDegreesDelta: this.pitchDegreesDelta,
21 | style: this.controlStyle
22 | }), {
23 | position: this.position
24 | });
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/models/search/index.ts:
--------------------------------------------------------------------------------
1 | export * from './search-address-optional-params';
2 | export * from './search-address-reverse-optional-params';
3 | export * from './search-address-reverse-cross-street-optional-params';
4 | export * from './extended-postal-codes';
5 | export * from './search-address-structured-optional-params';
6 | export * from './connector-set';
7 | export * from './search-fuzzy-optional-params';
8 | export * from './search-nearby-optional-params';
9 | export * from './search-poi-optional-params';
10 | export * from './search-poi-category-optional-params';
11 | export * from './search-poi-category-tree-optional-params';
12 | export * from './search-poi-category-tree-response';
13 | export * from './search-along-route-optional-params';
14 | export * from './search-inside-geometry-optional-params';
15 |
--------------------------------------------------------------------------------
/projects/sample-configuration-injection/e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | import { AppPage } from './app.po';
2 | import { browser, logging } from 'protractor';
3 |
4 | describe('workspace-project App', () => {
5 | let page: AppPage;
6 |
7 | beforeEach(() => {
8 | page = new AppPage();
9 | });
10 |
11 | it('should display welcome message', async () => {
12 | await page.navigateTo();
13 | expect(await page.getTitleText()).toEqual('sample-configuration-injection app is running!');
14 | });
15 |
16 | afterEach(async () => {
17 | // Assert that there are no errors emitted from the browser
18 | const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19 | expect(logs).not.toContain(jasmine.objectContaining({
20 | level: logging.Level.SEVERE,
21 | } as logging.Entry));
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/.github/workflows/CI.yml:
--------------------------------------------------------------------------------
1 | name: CI
2 |
3 | on:
4 | push:
5 | branches:
6 | - features/**
7 | - feature/**
8 | paths:
9 | - projects/ng-azure-maps/**
10 | - .github/**
11 | - package.json
12 | pull_request:
13 | branches:
14 | - develop
15 | - main
16 | paths:
17 | - projects/ng-azure-maps/**
18 |
19 | jobs:
20 | build:
21 |
22 | runs-on: ubuntu-latest
23 |
24 | steps:
25 | - name: Checkout
26 | uses: actions/checkout@v2
27 | with:
28 | fetch-depth: 0
29 | - name: Install Node.js
30 | uses: actions/setup-node@v1
31 | with:
32 | node-version: 18
33 | - name: npm install
34 | run: npm install
35 | - name: Build
36 | run: npm run build-lib-prd
37 | - name: Unit Tests
38 | run: npm run test-lib
39 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/controls/compass-control.directive.ts:
--------------------------------------------------------------------------------
1 | import { ControlDirective } from './control.directive';
2 | import { Directive, Input } from '@angular/core';
3 | import * as atlas from 'azure-maps-control';
4 |
5 | @Directive({
6 | selector: '[map-compass-control], map-compass-control',
7 | standalone: false
8 | })
9 | export class CompassControlDirective
10 | extends ControlDirective {
11 |
12 | @Input()
13 | public rotationDegreesDelta: number;
14 |
15 | @Input()
16 | public controlStyle: atlas.ControlStyle;
17 |
18 | public initialize(map: atlas.Map): void {
19 | map.controls.add(new atlas.control.CompassControl({
20 | rotationDegreesDelta: this.rotationDegreesDelta,
21 | style: this.controlStyle
22 | }), {
23 | position: this.position
24 | });
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/models/search/search-poi-category-tree-response.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This object is returned from a successful POI Category Tree call
3 | */
4 | export interface SearchPOICategoryTreeResponse {
5 | /**
6 | * Categories array
7 | */
8 | poiCategories: SearchPOICategoryTreeResult[];
9 | }
10 |
11 | /**
12 | * POI category result
13 | */
14 | export interface SearchPOICategoryTreeResult {
15 | /**
16 | * Array of child category ids
17 | */
18 | childCategoryIds: number[];
19 | /**
20 | * Unique ID for the category. ID can be used to restrict search results to specific categories through other Search Service APIs, like Get Search POI.
21 | */
22 | id: string;
23 | /**
24 | * Name of the category
25 | */
26 | name: string;
27 | /**
28 | * Array of alternative names of the category
29 | */
30 | synonyms: string[];
31 | }
32 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/controls/style-control.directive.ts:
--------------------------------------------------------------------------------
1 | import { Directive, Input } from '@angular/core';
2 | import { ControlDirective } from './control.directive';
3 | import * as atlas from 'azure-maps-control';
4 |
5 | @Directive({
6 | selector: '[map-style-control], map-style-control',
7 | standalone: false
8 | })
9 | export class StyleControlDirective
10 | extends ControlDirective {
11 |
12 | @Input()
13 | public layout: 'icons' | 'list';
14 |
15 | @Input()
16 | public mapStyles: string[] | 'all';
17 |
18 | @Input()
19 | public controlStyle: atlas.ControlStyle;
20 |
21 | public initialize(map: atlas.Map): void {
22 | map.controls.add(new atlas.control.StyleControl({
23 | layout: this.layout,
24 | mapStyles: this.mapStyles,
25 | style: this.controlStyle
26 | }), {
27 | position: this.position
28 | });
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | .vscode/
4 | .angular/
5 |
6 | # compiled output
7 | /dist
8 | /tmp
9 | /out-tsc
10 | # Only exists if Bazel was run
11 | /bazel-out
12 |
13 | # dependencies
14 | /node_modules
15 |
16 | # profiling files
17 | chrome-profiler-events*.json
18 | speed-measure-plugin*.json
19 |
20 | # IDEs and editors
21 | /.idea
22 | .project
23 | .classpath
24 | .c9/
25 | *.launch
26 | .settings/
27 | *.sublime-workspace
28 |
29 | # IDE - VSCode
30 | .vscode/*
31 | !.vscode/settings.json
32 | !.vscode/tasks.json
33 | !.vscode/launch.json
34 | !.vscode/extensions.json
35 | .history/*
36 |
37 | # misc
38 | /.sass-cache
39 | /connect.lock
40 | /coverage
41 | /libpeerconnection.log
42 | npm-debug.log
43 | yarn-error.log
44 | testem.log
45 | /typings
46 |
47 | # System Files
48 | .DS_Store
49 | Thumbs.db
50 |
51 | # Local configuration files
52 | environment.local.ts
53 |
--------------------------------------------------------------------------------
/projects/ng-azure-maps/src/lib/directives/layers/source-layer-directive.ts:
--------------------------------------------------------------------------------
1 | import * as atlas from 'azure-maps-control';
2 | import { OnDestroy, Input, Directive } from '@angular/core';
3 | import { LayerDirective } from './layer-directive';
4 |
5 | @Directive()
6 | export abstract class SourceLayerDirective
7 | extends LayerDirective
8 | implements OnDestroy {
9 |
10 | @Input() public dataSourceId: string;
11 | @Input() public sourceLayer: string;
12 |
13 | public initialize(map: atlas.Map, dataSource: atlas.source.Source): void {
14 | this.layer = this.buildLayer(dataSource);
15 |
16 | this.initializeEvents(map);
17 |
18 | map.layers.add(this.layer, this.before);
19 | };
20 |
21 | public clear(map: atlas.Map) {
22 | map.layers.remove(this.layer);
23 | this.layer = null;
24 | }
25 |
26 | protected abstract buildLayer(dataSource: atlas.source.Source): T;
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/projects/sample-popup/e2e/protractor.conf.js:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | // Protractor configuration file, see link for more information
3 | // https://github.com/angular/protractor/blob/master/lib/config.ts
4 |
5 | const { SpecReporter } = require('jasmine-spec-reporter');
6 |
7 | /**
8 | * @type { import("protractor").Config }
9 | */
10 | exports.config = {
11 | allScriptsTimeout: 11000,
12 | specs: [
13 | './src/**/*.e2e-spec.ts'
14 | ],
15 | capabilities: {
16 | browserName: 'chrome'
17 | },
18 | directConnect: true,
19 | baseUrl: 'http://localhost:4200/',
20 | framework: 'jasmine',
21 | jasmineNodeOpts: {
22 | showColors: true,
23 | defaultTimeoutInterval: 30000,
24 | print: function() {}
25 | },
26 | onPrepare() {
27 | require('ts-node').register({
28 | project: require('path').join(__dirname, './tsconfig.json')
29 | });
30 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31 | }
32 | };
--------------------------------------------------------------------------------