{"id":18614797,"url":"https://github.com/andrewjbateman/angular-esri-arcgis","last_synced_at":"2026-04-17T00:34:10.001Z","repository":{"id":52016841,"uuid":"325364443","full_name":"AndrewJBateman/angular-esri-arcgis","owner":"AndrewJBateman","description":":clipboard: Displays map data from the ArcGIS API, using the esri-loader and an Angular map creation service","archived":false,"fork":false,"pushed_at":"2023-07-06T15:29:47.000Z","size":2457,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T01:34:26.817Z","etag":null,"topics":["angular","angular16","arcgis","arcgis-apis","arcgis-js-api","css3","esri-loader","event-emitter","html5","javascript","typescript4","viewchild"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-29T18:56:10.000Z","updated_at":"2023-07-06T15:26:37.000Z","dependencies_parsed_at":"2024-11-07T03:40:55.047Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-esri-arcgis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-esri-arcgis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-esri-arcgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-esri-arcgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-esri-arcgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-esri-arcgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-esri-arcgis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-esri-arcgis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31910165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular16","arcgis","arcgis-apis","arcgis-js-api","css3","esri-loader","event-emitter","html5","javascript","typescript4","viewchild"],"created_at":"2024-11-07T03:27:01.783Z","updated_at":"2026-04-17T00:34:09.976Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular Esri Arcgis\n\n* Angular app to display a zoomable map view using the ArcGIS API mapping solution from [Esri](https://www.esri.com/en-us/home) with [esri-loader](https://github.com/Esri/esri-loader). **Note:** This is the old-fashioned way using esri-loader - from v4.18 of the ArcGIS API for JavaScript it is easier to use @arcgis/core and [building with Esri ES modules](https://developers.arcgis.com/javascript/latest/es-modules/) instead of using esri-loader.\n\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/angular-esri-arcgis?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-esri-arcgis?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-esri-arcgis?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-esri-arcgis?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Esri Arcgis](#zap-angular-esri-arcgis)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:flashlight: Testing](#flashlight-testing)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* [ArcGIS API for Javascript CDN](https://developers.arcgis.com/javascript/latest/guide/get-api/#cdn) link in `esri-map` component.\n* [ArcGIS for Developers](https://developers.arcgis.com/) offers a full suite of tools and resources to build mapping and analytics solutions. Use ArcGIS APIs to create location-based applications for web, desktop, and mobile devices.\n\n## :camera: Screenshots\n\n![Example screenshot](./img/map.png)\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/)\n* [Esri-loader v3](https://github.com/Esri/esri-loader) library to use the ArcGIS API for JavaScript\n* [ArcGIS API for JavaScript v4.27](https://developers.arcgis.com/javascript/) mapping and analytics software\n* [@types/arcgis-js-api v4.27.0](https://www.npmjs.com/package/@types/arcgis-js-api) type definitions for ArcGIS API for JavaScript\n\n## :floppy_disk: Setup\n\n* Install dependencies by running `npm i`\n* Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.\n* The app will automatically reload if you change any of the source files\n\n## :flashlight: Testing\n\n* No test code added.\n\n## :computer: Code Examples\n\n* extract from `esri-map.component.ts` to set up map coordinates etc.\n\n```typescript\nexport class EsriMapComponent implements OnInit {\n  private _zoom = 10;\n  private _center = [0.1246, 51.5007];\n  private _basemap = 'streets';\n\n  @Input()\n  set zoom(zoom: number) {\n    this._zoom = zoom;\n  }\n\n  get zoom(): number {\n    return this._zoom;\n  }\n\n  @Input()\n  set center(center: any[]) {\n    console.log('centre: ', center);\n    this._center = center;\n  }\n\n  get center(): any[] {\n    return this._center;\n  }\n\n  @Input()\n  set basemap(basemap: string) {\n    this._basemap = basemap;\n  }\n\n  get basemap(): string {\n    return this._basemap;\n  }\n\n  @Output() mapLoaded = new EventEmitter\u003cboolean\u003e();\n  @ViewChild('mapView', { static: true }) public mapViewEl: ElementRef;\n\n  constructor(private esriMapService: EsriMapService) {}\n\n  public ngOnInit() {\n    this.esriMapService\n      .loadMap(this._basemap, this._center, this._zoom, this.mapViewEl)\n      .then((res: Boolean) =\u003e {\n        console.log('result of map loading: ', res);\n        this.mapLoaded.emit(true);\n      });\n  }\n}\n```\n\n## :cool: Features\n\n* map view pan function\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working.\n* To-Do: Nothing. This is the old way of accessing map data using esri-loader. In future use [Esri ES modules](https://developers.arcgis.com/javascript/latest/es-modules/).\n\n## :clap: Inspiration\n\n* [ArcGIS API for JavaScript: Building Apps with Angular](https://www.youtube.com/watch?v=ea4D-qGU0_0)\n* [esri-loader documentation](https://www.npmjs.com/package/esri-loader)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-esri-arcgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-esri-arcgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-esri-arcgis/lists"}