Customizing and Extending ArcGIS Web Application Templates · Customizing and Extending ArcGIS Web...

Post on 09-Oct-2020

14 views 0 download

Transcript of Customizing and Extending ArcGIS Web Application Templates · Customizing and Extending ArcGIS Web...

Customizing and Extending ArcGIS Web

Application TemplatesShan Shan Lam – Esri China (HK)

Richard Chau – Esri China (HK)

What are Templates

Language Support

Configurable

Sharing Options

• Publish

• Download

Embed Map or Gallery

https://www.cityofkingston.ca/residents/recreation/parks-trails

Map IDA unique identifier, like a social security number

Richard Chau

Demo: Build a Map

Web Maps

• createMap

• getItem

• getLegendLayers

Richard Chau

Demo: Working

with the Web Map

Configuring

Templates

Create an Application

Richard Chau

Demo: Create an

App

• Early Adopters

• Custom templates

Custom Template Gallery

Customizing

Templates

Methods of Customization

Download Item (PIM)

Getting the Code & GitHub Issues

Richard Chau

Demo: Customize

PIM Template

Application

Boilerplate

What is it?

• Starter Application

• Includes template & app logic

• Working with ArcGIS Online

- Webmaps

- Services

- i18n

- Authentication

- Configurable

Why would I need it?

• Makes life simpler

• Handles common template logic

• oAuth workflow

• Template configuration for Arcgis.com

• Used in newer templates on AGOL

Customizing

Layers

Panels

Legend

Widgets etc.

Dissecting the Boilerplate

Richard Chau

Demo: Lets

Customize!

Customize Boilerplate & Create Template

• Add Locate Button

• Add Legend

• Modify Configuration JSON

• Create Item on AGOL

• Share Item into template group

• Preview Item

• Configure Item

Edit Application Item

Configuration Parameters

Code on GitHub

Share your moment #EsriAPUC