{"id":18615044,"url":"https://github.com/andrewjbateman/angular-rxjs-arcgis","last_synced_at":"2025-11-03T03:30:33.556Z","repository":{"id":51957170,"uuid":"324835856","full_name":"AndrewJBateman/angular-rxjs-arcgis","owner":"AndrewJBateman","description":":clipboard: Angular app using RxJS operators and the ArcGIS API mapping solution from Esri with esri-loader.  Tutorial code.","archived":false,"fork":false,"pushed_at":"2021-05-14T15:06:05.000Z","size":1010,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T02:45:21.058Z","etag":null,"topics":["angular","arcgis","arcgis-js-api","esri-javascript-api","javascript","maps","observables","rxjs6","scss-styles","typescript"],"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}},"created_at":"2020-12-27T19:42:12.000Z","updated_at":"2021-05-14T15:06:08.000Z","dependencies_parsed_at":"2022-08-23T16:30:34.146Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-rxjs-arcgis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-rxjs-arcgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-rxjs-arcgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-rxjs-arcgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-rxjs-arcgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-rxjs-arcgis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406450,"owners_count":19633024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","arcgis","arcgis-js-api","esri-javascript-api","javascript","maps","observables","rxjs6","scss-styles","typescript"],"created_at":"2024-11-07T03:27:56.294Z","updated_at":"2025-11-03T03:30:33.504Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Angular RxJS ArcGIS\n\n* Angular app using RxJS operators and the ArcGIS API mapping solution from [Esri](https://www.esri.com/en-us/home) with [esri-loader](https://github.com/Esri/esri-loader).\n* Code by Andy Gupp at esri - see [:clap: Inspiration](#clap-inspiration) below - updated to the latest Angular/dependency versions\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-rxjs-arcgis?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-rxjs-arcgis?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-rxjs-arcgis?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-rxjs-arcgis?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular RxJS ArcGIS](#zap-angular-rxjs-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* RxJS subscriptions objects used to represents the execution of observables.\n* Note: RxJS version 6.6.6 used - do not update to v7 as it is not compatible with Angular v11\n\n## :camera: Screenshots\n\n![Example screenshot](./img/map.jpg)\n\n## :signal_strength: Technologies\n\n* [Angular v12](https://angular.io/)\n* [Angular Formcontrol](https://angular.io/api/forms/FormControl)\n* [Esri-loader v3](https://github.com/Esri/esri-loader) library to use the ArcGIS API for JavaScript\n* [ArcGIS API for JavaScript v4.18](https://developers.arcgis.com/javascript/) mapping and analytics software\n* [@types/arcgis-js-api v4.18.0](https://www.npmjs.com/package/@types/arcgis-js-api) type definitions for ArcGIS API for JavaScript\n* [RxJS Library v6](https://angular.io/guide/rx-library) used to handle async operations using observables\n\n## :floppy_disk: Setup\n\n* Install dependencies by running `npm i`\n* Run `ng test` for Jasmine tests carried out in Karma console\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* Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n* Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## :computer: Code Examples\n\n* extract from `control-panel.component.ts` to pan to map view in 2s\n\n```typescript\npanMap(coordinates: string) {\n    this.mapView.goTo(coordinates).then(() =\u003e {\n      this.mapView.zoom = 18;\n      setTimeout(() =\u003e {\n        this.mapService.panToWonderComplete();\n      }, 2000);\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. Passing 2 out of 4 tests, issue with provider of EsriMapService, e2e testing fails.\n* To-Do: Fix errors\n\n## :clap: Inspiration\n\n* [ArcGIS API for JavaScript: Building Apps with Angular](https://www.youtube.com/watch?v=ea4D-qGU0_0)\n* [#ANGULAR, Deploying an Angular App to Firebase Hosting](https://alligator.io/angular/deploying-angular-app-to-firebase/)\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-rxjs-arcgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-rxjs-arcgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-rxjs-arcgis/lists"}