sean-olson-e / Angular-and-the-ArcGIS-API-for-JavaScript

This repository contains resources to support the Esri Developer Summit presentation, Angular and the ArcGIS API for JavaScript. Here you will find all of the samples apps, presentation slides, and Readme files that provide guidance for each pattern.
27 stars 12 forks source link

Angular-and-the-ArcGIS-API-for-JavaScript

Newer Version Available

NOTE: This is the 2018 version of this presentation. For the 2019 presentation go here: https://github.com/andygup/angular-plus-arcgis-javascript-presentation

2018 Version

Sean Olson | Andy Gup | Jacob Wasilkowski

In the sample_apps directory you will find a number of implementations of the ArcGIS API for JavaScript in Angular (2+) applications, using the esri-loader.

Each of the implementations in the samples_apps directory is accompanied by a README file that will walk you through the given implementation.

Getting started

# one-time only when cloning this repo,
# if you don't already have the Angular CLI installed
npm install -g @angular/cli

# choose your own adventure sample app
cd ./sample_apps/<your-choice>

# STOP CODING AND READ THE SAMPLE'S README
# THEN YOU MAY CONTINUE

# one-time only
npm install
# every time you want to begin serving/watching
ng serve
# every time you want to build
ng build --base-href ./

Licensing

Copyright 2018 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.