ArcGIS API for JavaScript

Similar documents
ArcGIS API for JavaScript: Getting Started Andy René

ArcGIS API 4.x for JavaScript Advanced Topics. René

Building Mobile Apps with the ArcGIS API for JavaScript. Andy Gup, Lloyd Heberlie, Thomas Other

Getting Started with the ArcGIS API for JavaScript. Julie Powell, Paul Hann

ArcGIS Runtime SDK for.net: Building Xamarin Apps. Rich Zwaap Thad Tilton

Customizing Web AppBuilder using Third Party Products. Presented to: Esri Canada Toronto UC Presented by: Maura Daffern October 11 th, 2018

Building Your own Widget with ArcGIS API for JavaScript

Enabling High-Quality Printing in Web Applications. Tanu Hoque & Jeff Moulds

ArcGIS Viewer for Flex An Introduction

Transitioning to the ArcGIS Runtime SDK for.net. Antti Kajanus & Mike Branscomb

Introduction to Web AppBuilder for ArcGIS: JavaScript Apps Made Easy

Hit the Ground Running. ArcGIS Runtime SDK for Android

Geo-enable your.net apps with ArcGIS Online and Runtime. Antti Kajanus Thad Tilton

No Programming Required Create web apps rapidly with Web AppBuilder for ArcGIS

Web AppBuilder Presented by

Getting Started with ArcGIS Runtime SDK for Java SE

Creating and Maintaining Your 3D Basemap. Brian Sims Dan Hedges Gert van Maren

ArcGIS GeoEvent Server: Making 3D Scenes Come Alive with Real-Time Data

Web AppBuilder for ArcGIS: JavaScript Apps Made Easy

ArcGIS Viewer for Microsoft Silverlight An Introduction

Creating a Smart 3D City Web App. Pascal Müller, Johannes Schmid

ArcGIS GeoEvent Server: Leveraging Stream Services. Ken Gorton RJ Sunderman

Expand Your Audience through ArcGIS Online Workshop 2018 IMAGIN Conference

Introduction to ArcGIS Online and Story Maps

Getting Started with ArcGIS Runtime SDK for ios and OS X. Divesh Goyal & Mary Harvey

SIX REASONS. You Should Use ArcGIS API 4.0 for JavaScript. By Julie Powell, Esri Product Management

Real-Time GIS Leveraging Stream Services

Creating Apps Using ArcGIS Online Templates. Matt Kennedy

Configuring ArcGIS Enterprise in Disconnected Environments

Best Practices for Designing Effective Map Services

ArcGIS Runtime: Working with Maps Online and Offline. Will Crick Justin Colville [Euan Cameron]

Introduction to ArcGIS API for Flex. Bjorn Svensson Lloyd Heberlie

Web App Builder: Code-free Development. Adam Ziegler, Esri-Northeast, Local Government Team

ArcGIS API for JavaScript Advanced Topics

ArcGIS Runtime SDK for Java: A Beginner s Guide. Mark Baird JC Malott

Creating Web Mapping Applications. Nikki Golding

ArcGIS Runtime SDK for Android An Introduction. Xueming

Building Java Apps with ArcGIS Runtime SDK

ArcGIS SDK for Windows Phone and ArcGIS for SharePoint. Jo Fraley Nikki Golding

Working with the ArcGIS Viewer for Flex Application Builder

Advanced Development with the ArcGIS API for JavaScript. Jeremy Bartley, Kelly Hutchins, Derek Swingley

Developing Qt Apps with the Runtime SDK

Web AppBuilder for ArcGIS: A Deep Dive in Enterprise Deployments. Nick Brueggemann and Mark Torrey

Advanced 3D Features. ArcGIS API for JavaScript. Jesse van den Kieboom, ESRI R&D Center Zürich Thomas Other, ESRI R&D Center Zürich

Sharing Web Layers and Services in the ArcGIS Platform. Melanie Summers and Ty Fitzpatrick

Chapter 9: Integrating Widgets

ArcGIS Online: Managing Data. Jeremy Bartley Sentha Sivabalan

Getting Started with the ArcGIS Runtime SDKs. Dave, Will, Euan

ArcGIS GeoEvent Server: Leveraging Stream Services

ArcGIS Online. The Road Ahead Geoff Mortson

HCA ArcGIS. Online Tool - How To Guide V1.0 2/15/2016 HAWAII CONSERVATION ALLIANCE AGOL

An Introduction to GIS for developers

Building WPF Apps with the new ArcGIS Runtime SDK for.net. Antti Kajanus Mike Branscomb

ArcGIS Runtime SDKs Building Offline Apps. Nick Furness

Survey123 Deep Dive. Presented by: Sue Enyedy-Goldner Fall 2018

Developing Advanced Web Applications Which Utilize Image Services and the JS API. Naila Khan, Wenxue Ju

Configuring and Customizing the ArcGIS Viewer for Silverlight. Katy Dalton

Enabling High-Quality Printing in Web Applications. Tanu Hoque & Craig Williams

Enabling High-Quality Printing in Web Applications. Tanu Hoque & Scott Moore

Telling Stories with Map Templates

3D in the Browser with WebGL. Chris Andrews 3D Product Manager Javier Gutierrez 3D Product Engineer

Getting Started with ArcGIS Runtime SDK for Qt. Thomas Dunn & Nandini Rao

ArcGIS API for Flex An Introduction

Advanced tips & tricks for building powerful ios/mac apps Divesh Goyal Mark Dostal

Real-Time GIS: Leveraging Stream Services

ArcGIS Viewer for Silverlight Advanced Topics

A Holistic Approach to Building 3D Web Apps. Raluca Nicola Russell Roberts

GEOG 677 FINAL PROJECT: PRACTICAL USES OF ONLINE MAPPING APPLICATIONS

Imagery in a WebGIS. Wenxue Ju & Naila Khan

ArcGIS Runtime SDK for Qt: Building Apps. Koushik Hajra and Lucas Danzinger

Understanding ArcGIS Online - why organizations should embrace the cloud now

ArcGIS Runtime: Styling Maps. Ralf Gottschalk, Daniel Lee, Lucas Danzinger

Best Practices for Creating Web Maps. Brian Chong Justin Fan

Building Maps for the Public. Allen Carroll, David Asbury, and Jim Herries

ESRI Technology Update. Joe Holubar Larry Young

ArcGIS Runtime SDK for Android: Building Apps. Shelly Gill

PA TRAC Widget. Adding the Power of PA TRAC to your Website

Designing and Using Cached Map Services

Extending ArcGIS for Server. Jon Satchwell, Esri Switzerland Cédric Despierre Corporon, Esri France

Web Mapping Applications with ArcGIS. Bernie Szukalski Derek Law

Collaborate. w/ ArcGIS Runtime SDK for Android

Developing Imagery Apps Using the ArcGIS API for JavaScript and WebApp Builder. Naila Khan, Chayanika Khatua

ArcGIS Runtime SDK for ios and macos: Building Apps. Suganya Baskaran, Gagandeep Singh

What Makes a good content item GREAT?

Introduction to Your First ArcGIS Enterprise Deployment. Thomas Edghill & Jonathan Quinn

ArcGIS Online workshop Shane Clarke John Sharrard. Central Oregon GIS User Group Meeting Bend, OR January 23, 2013

ArcGIS Apps for the Mobile Worker. Presented by: Sue Enyedy-Goldner

Interactive webmaps with ArcGIS. Kristel Meikas, AlphaGIS

Deep Dive on How ArcGIS API for JavaScript Widgets Were Built

ArcGIS Online: Three-and-a-Half Ways to Create Tile Layers. Eric Anderson & Adam Eversole Esri Support Services

Accessible Web Mapping Apps. Kelly Hutchins Tao Zhang

ArcGIS API for JavaScript: Creating Custom Layers and Layer Views. Yann Cabon, Johannes Schmid

Working with Printing Service: Advanced Topics JEFF MOULDS TANU HOQUE

Map Functions August 3, 2015 Triangle Homes Group

Developing Add-Ins for ArcGIS Pro (.NET) Toronto Esri Canada UC Presented by: Gandhar Wazalwar & Kern Ranjitsingh October 11, 2018

Getting Started with ArcGIS for Server. Charmel Menzel and Ken Gorton

Operations Dashboard for ArcGIS Monitoring GIS Operations. Michele Lundeen Esri

Developing mapping applications with ArcGIS Runtime SDK for ios. Divesh Goyal Eric Ito

Publishing Story Maps with ArcGIS

ArcGIS Runtime SDK for WPF

Transcription:

ArcGIS API for JavaScript Getting Started Bjorn Svensson, Undral Batsukh 1

Agenda Don't write code JavaScript development Use ArcGIS platform, use webmaps and webscenes js.arcgis.com The Big Four: layers, visualization, popups, and widgets 2

Configure when possible Map Viewer Presentations Create Web app: using a Template (configurable apps) using the Web AppBuilder Embedded viewer Esri, HERE, Garmin, NGA, USGS, NPS Esri, HERE 3

Embedded viewer with more options: Sök efter adress eller plats Topografisk 0 3 6km City of New York, Esri, HERE, Garmin, NGA, USGS, NPS Esri, HERE

4 JavaScript development IDE: Visual Studio Code, Sublime, WebStorm and many others testing, linting JSAPI4: Programming Patterns and API Fundamentals. Rene & Yann at Tue 5:30 6:30pm in Primrose C D (repeated on Friday 1pm) JSAPI: Tips and Tricks for Developing and Debugging Apps Kelly & Heather: Now and Friday 1 2pm (Santa Rosa). JavaScript for Geographers link Patrick & John at Thu 9 10am, Demo Theater 1. 5

Take advantage of the ArcGIS platform Create a WebMap The map document Use in your apps Easy to set up layers and symbology 6

Use ArcGIS API for JavaScript js.arcgis.com 7

Hello World Map require(["esri/map", "esri/views/sceneview", "dojo/domready!"], function(map, SceneView) { var map = new Map({ basemap: "streets", ground: "world elevation" }); var view = new SceneView({ container: "viewdiv", map: map, scale: 50000000, center: [ 101.17, 21.78] }); }); Demo: Hello World 8

The Big Four Layers Visualization Popups Widgets

9 Layers Visually represent geospatial data in 2D or 3D (v4) Built for a specific purpose 16 different types of layers Commonly used layer types are Basemap layers ArcGIS Tiles, vector tiles, OpenStreetMap, WebTiledLayer, imagery layer... Operational layer FeatureLayer, MapImageLayer, CSVLayer, SceneLayer, PointCloudLayer, GeoRSSLayer, GraphicsLayer 10

Basic coding pattern for layers Create a new layer // add layer using its url var featurelayer = new FeatureLayer({ url: url }); map.add(featurelayer); Add layer from portal item //add layer from portal item Layer.fromPortalItem({ portalitem: { // agol layer id: "8444e275037549c1acab02d2626daaee" } }).then(function(layer){ map.add(layer); }); 11

Layers Demo Demo: Add Trees FeatureLayer Demo: Add a layer from portal item portal layer 12

Visualization Most symbols can be used for both 2D and 3D. Most data can be displayed in both 2D and 3D, except meshes and point cloud Can be applied to individual graphics or set on a renderer applied to a layer 13

Basic coding pattern for visualization var citiesrenderer = new SimpleRenderer({ symbol: new SimpleMarkerSymbol({ size: 16, color: "red", style: "diamond" }) }); var citieslayer = new FeatureLayer({ url: "http://url.to.service", renderer: citiesrenderer }); map.add(citieslayer); Demo: Simple Renderer 14

More about visualization 3D Visualization with the ArcGIS API for JavaScript. Kristian, Jeremy, and Joe at Wed 1 2pm in Pasadena Sierra Ventura 2D Visualization with the ArcGIS API for JavaScript. Kristian & Jeremy at Thu 1 2 pm in Primrose C D

15 Pop ups Displays information associated with graphic or feature layers: PopupTemplate Anything else: Popup Typically opened by clicking a feature 16

PopupTemplate Formats and defines the content of a Popup for a specific Layer or Graphic PopupTemplate content can display text (html markup) media Charts and Images fields Attachments Can display custom action that executes when clicked on 17

Webmap PopupTemplate Layer PopupTemplate Themed PopupTemplate 18

Basic coding pattern for PopupTemplate var popuptemplate = { title: "Marriage in NY, Zip Code: {ZIP}", content: "<p>as of 2015, <b>{marriedrate}%</b> of the population in this zip code is married.</p>" }; featurelayer.popuptemplate = popuptemplate; Demo: PopupTemplate 19

Widgets Performs one or more tasks Reusable across multiple applications different default widgets for MapView and SceneView 4.x so far: BasemapGallery, BasemapToggle, LayerList, Legend, Print, ScaleBar, Search etc 3x has more: Editing, analysis widget etc 20

Basic coding pattern for widgets view.then(function() { var layerlist = new LayerList({ view: view }); // Add widget to the top right corner of the view view.ui.add(layerlist, "top right"); }); Demo: LayerList Widget 21

More about widgets Customizing the ArcGIS API for JavaScript Widgets Matt Franco & Alan at Wed 1 2 pm in Smoketree A E Building Your own Widget with ArcGIS API for JavaScript Matt & Franco at Thu 10:30 11:30am in Pasadena Sierra Ventura Deep Dive on How ArcGIS API for JavaScript Widgets Were Built Matt & Franco at Fri 8:30 9:30am in Primrose A

22 BasemapGallery widget 23

Search widget 24

Print widget 25

Legend widget 26

thank you :) Questions? https://js.arcgis.com

27 28