This repository has been archived by the owner. It is now read-only.
Example app using the ArcGIS API for JavaScript v3 in an Angular2 app
TypeScript JavaScript HTML CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

angular2-esri-example

This is an example app using ArcGIS API for JavaScript v3 in an Angular 2 app. The purpose is to explore ways that Angular 2 components and services can communicate with a map, legend, search, etc.

screenshot

Try it out!

Status

The repository is built on an outdated version of Angular, and I'm not sure if the patterns it demonstrates for communicating between components, services, and ArcGIS maps and data are in line w/ current best practices. I'm no longer actively maintaining this repository (i.e. not adding new features, nor keeping it up to date with new releases of Angular nor the ArcGIS API for JavaScript).

For a more up to date way to use the ArcGIS API for JavaScript in an Angular application, I recommend using https://github.com/Esri/esri-loader/.

Quick Start

After downloading, run the following at the command line to run the app:

npm install
npm start

Resources

While writing this app, I found the following resources very helpful, though at this point they may be a bit out of date:

Built with: