Sample TypeScript application with ArcGIS API 4 for JavaScript
TypeScript HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
images
public
src
typings
.editorconfig
.gitignore
README.md
package.json
postcss.config.js
tsconfig.json
tslint.json

README.md

Demo App for using TypeScript with ArcGIS API 4 for JavaScript

Usage

Clone the repo and run npm install or yarn.

  • npm run watch - compile TypeScript and watch for changes.

Currently testing out what a scalable application may look like for users of the JSAPI. Still early testing, needs to show custom widgets, possibly some progressive web app tooling.

Note - Be careful of how aggressive you cache via the service worker, you run the risk of not getting the latest data from Services that can change with updates. This is one area of this app I would call highly experimental.

Application structure influenced by libs/frameworks like Redux, Ember and Angular.

Trying to use only NPM scripts for development, will see how far it can get me.

App Shell

starter application

Features

  • Service Worker
  • AppCache
  • manifest.json - to add as button to home screen
  • default icons