Esri / configurable-app-examples-4x-js

Configurable Application Examples using ApplicationBase
https://developers.arcgis.com/javascript/
Apache License 2.0
21 stars 28 forks source link
app app-template arcgis-js-api arcgis-online boilerplate boilerplate-template javascript portal typescript web-development

configurable-app-examples-js

Configurable Application Examples using Esri's arcgis-base-js application base and the 4.x series of the ArcGIS API for JavaScript.

(The application-boilerplate-3x-js repository provides an application base using the 3.x series of the ArcGIS API for JavaScript.)

Features

This repository is a collection of example applications; each example is in its own folder:

Most of the applications share a reference to the arcgis-base-js application base stored in folder ApplicationBase\. This base handles a lot of the startup work that application need to perform. They also share a web.config file that instructs your IIS server to serve application JSON configuration files.

Other files in the repository are optional configuration files for development tools that we use. Although these are not needed for your development, they are included because they may be useful to you.

Getting started

  1. Fork and then clone the repo.
  2. Set it up in your web server.
  3. Run npm install to install app dependencies
  4. Run examples by referring to their subfolder; e.g., if you put this repository on your server myServer, you would run the webmap-ts example for a webmap with an ArcGIS Online id of 1998592ad23a4b4ca239e7c7cdc4e4b9 using a URL such as
http://myServer/configurable-app-examples-4x-js/webmap-ts/index.html?webmap=1998592ad23a4b4ca239e7c7cdc4e4b9

Example of the webmap-ts application

Requirements

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright © 2017-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.