Introduction to ArcGIS API for JavaScript

Slides:



Advertisements
Similar presentations
Clark County & the Web Application Development Framework.
Advertisements

Web GIS Oregon Explorer Marc G Rempel Oregon State University The Valley Library Oregon Explorer
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS API for Flex.
Esri International User Conference | San Diego, CA Technical Workshops | Under the Hood of the Esri Hydro Viewer Kenny Ling & Caitlin Scopel July 2011.
Technical Workshops | Esri International User Conference San Diego, California Building Applications with ArcGIS Runtime SDK for Windows Phone Rex Hansen.
ArcGIS API for JavaScript – Advanced Topics
Esri UC2010 | Tech Workshops Technical Workshops Esri UC2010 | Tech Workshops ArcGIS API for Microsoft Silverlight/WPF – An Introduction Art Haddad Rex.
Esri International User Conference | San Diego, CA Technical Workshops | What is a Web Application? Ben Ramseth July 13, 2011.
Web Editing in ArcGIS for Server
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS Viewer for Flex—
Technical Workshops | Esri International User Conference San Diego, California Customizing ArcPad solutions Marika Vertzonis, Gareth Walters, Stephen Quan.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Viewer for Flex An Introduction Canserina Kurnia and Derek Law July 12,
Development of mobile applications using PhoneGap and HTML 5
Esri UC 2014 | Technical Workshop | Building Java Apps with ArcGIS Runtime SDK Mark Baird and Vijay Gandhi.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for SharePoint, An Introduction Art Haddad Rich Zwaap.
Is Mobile the Future of GIS? Matt Sheehan WebMapSolutions.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Runtime Euan Cameron Mary Harvey Ralf Gottschalk Road Ahead.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
NOAA CMSP Data and Tools Team On-line Mapping Services and Custom ESI Web Applications Robby Wilson, Chief, Spatial Information Technology NOAA/NOS Special.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for Server Road Ahead Ismael Chivite, Anne Reuland.
Sharing imagery and raster data in ArcGIS
Sharing Geographic Content
Editing With ArcGIS Pro
Technical Workshops | Esri International User Conference San Diego, California ArcMap: Tips and Tricks Miriam Schmidts Jorge Ruiz-Valdepena July 23 – 27,
Esri International User Conference | San Diego, CA Technical Workshops | Windows Phone – Developing Applications Kylie Donia and Eager Ip July 13, 2011.
Some essentials difference syntax and concept for jquery developers Roohullah Afzali
Building Offline Apps With the ArcGIS Runtime SDKs
Developing Android Apps with the ArcGIS Runtime SDK for Android
Extending ArcGIS for Server
material assembled from the web pages at
Designing Web Applications Thaddeus Diamond CPSC 112.
Optimum route finder to the point of interest through public transport By Pratik Mehta Submitted to Dept. Comp. Science and Engineering IIT-Bombay.
Tutorial: Using ArcGIS Server and ESRI ArcGIS API for Javascript Peter Sforza March 7, 2013.
LOJIC Online Map: An Inside Perspective by Brian Meyers, Jane Poole & Julie Price, LOJIC.
Best Practices for Designing Effective Map Services Tanu Hoque.
Enabling High-Quality Printing in Web Applications
Leveraging ArcGIS Online Elevation and Hydrology Services
Esri UC 2014 | Technical Workshop | Esri Roads and Highways: Integrating and Developing LRS Business Systems Tom Hill.
Introduction to Web AppBuilder for ArcGIS: JavaScript Apps Made Easy
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Review of Plenary Product specific item Market specific items What we took away from it Esri 2011 User Conference.
ESRI 2012 User Conference Review of Plenary Top 10 What’s new at 10.1 What we took away from it.
Esri UC 2014 | Technical Workshop | ArcGIS Online: An Introduction and Overview Ray Bunn Andrew Hendrickson Tim Oliver, Horry County Paul Ross.
Extend the Operations Dashboard with Custom Widgets (and more)
Getting the most out of ArcMap Jack Horton & Jorge Ruiz-Valdepeña.
Adding ArcGIS Online to Your GIS Curriculum
Extending the Operations Dashboard
2008 ESRI International User Conference “G eography in Action” GIS User Group Meeting September 19, 2008.
RJ Sunderman Product Engineer GeoEvent Extension Product Team Mark Bramer Senior Technical Analyst Esri Professional Services
Advanced workflows for creating 3D Web Scenes in ArcGIS Online Javier Gutierrez and Janett Baresel.
Developing Cross Platform Apps with the ArcGIS Runtime SDK for Qt
©2010 AIR WORLDWIDE 1 Using ArcGIS Server Web Map Services in Web Map Mash-Ups Benjamin Spaulding, Ph.D. AIR Worldwide Esri Boston Dev Meet-Up 12/8/2010.
Esri UC 2014 | Technical Workshop | ArcGIS API for JavaScript: An Introduction Kelly Hutchins Derek Swingley.
Esri UC 2014 | Technical Workshop | Enhancing Web Map Performance in ArcGIS Online Julia Guard & Melanie Summers.
RE-ENGINEERING FLEX APP TO JAVASCRIPT APP By Imtiaz Syed.
QML and JavaScript for Native App Development Michael Tims Jen Trieu.
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
ArcGIS API for javascript
App Configuration, Customization or Development
Introduction to ArcGIS API for Microsoft Silverlight
Getting started with ArcGIS API for JavaScript
ArcGIS API for JavaScript Road Ahead
Web AppBuilder for ArcGIS
Leveraging ArcGIS Online Elevation and Hydrology Services
ArcGIS API for Silverlight – An Introduction
ArcGIS Online – The Road Ahead
Introduction to Portal for ArcGIS
Road Ahead – ArcGIS Workflow Manager
ArcGIS Pro: An Introduction Overview
Presentation transcript:

Introduction to ArcGIS API for JavaScript Jeremy Bartley Kelly Hutchins

Overview What can you do with the JavaScript APIs Review of the ArcGIS Server REST API Why JavaScript? Working with the ArcGIS JavaScript API Getting started building apps

What can you do with the JavaScript API? Integrate maps and services into existing web pages Display interactive map Display your data on an ArcGIS Online base map Execute a task and display the results Search for an address and display the results

Let’s see what others are doing…

http://www.atlas.nsw.gov.au/public/nsw/home/map/population.html 5

http://www.wireless.att.com/coverageviewer/ 6

http://gismaps.kingcounty.gov/roadalert/ 8

http://gis.worcestershire.gov.uk/wccgisonline/maps.aspx 9

http://www.generationcp.org/sdi/ 10

http://pehmogis.hut.fi/pehmogis/fi/helsinki.html 11

http://productselector.deere.com/CustomerTool/NACutsHomeServlet 12

http://www.gap.uidaho.edu/landcoverviewer.html 13

ArcGIS.com

How do you go from your data to a Mashup? Author GIS resource using desktop Publish GIS resources to create GIS Services. Each capability is exposed to consumers as an independent GIS Web Service accessible over HTTP Use JSAPI to build rich client applications that consume GIS resource 15

Discoverable, accessible, and useable ArcGIS Server REST API Discoverable, accessible, and useable New at 9.3, greatly enhanced at 10 Simple view of ArcGIS Server ArcGIS Server hosts a Services Directory Used by developer while building application Powers Web APIs 16

ArcGIS Server REST API All GIS Services are exposed as resources Service level metadata Some resources have operations Map Service (export, find, identify) Map Service Layers (query) Image Services (export) Geocode Service (findAddressCandidates, Reverse Geocode) Geoprocessing (execute, submit job) Network Analyst (solve route) Geometry Service (project, buffer, and others) 17

ArcGIS JavaScript APIs – Why JavaScript? JavaScript is one of the most used programming languages in the world. Applications run in browser Desktop and Mobile (iOS, Android, …) JS Frameworks abstract away the browser complexity YUI, Dojo, EXTJS, jQuery Accessible programming language IDE’s are getting better. Aptana, Notepad ++, Visual Studio Multiple development patterns supported 18

Race for the fastest browser – HTML5 JavaScript Engine Just in time compilation to byte code Faster property access Efficient garbage collection Graphics engine improvements DOM improvements CSS3

ARCGIS JAVASCRIPT API

ArcGIS JavaScript API Embed maps and tasks from any ArcGIS Server into your website Use basemaps provided by ESRI or use your own basemap with your geospatial data Map can be in any supported projection Built on top of Dojo JavaScript toolkit.

What is Dojo? Robust JavaScript Toolkit Active Community Dojo Dijits Strong Widgeting system Grids, charts, toolbars, trees, and many more Powerful eventing model Rich client side Graphics http://dojotoolkit.org http://dojocampus.org 23

Integrating Dojo Dijits into your application

Rotator Widget function createRotator(){ var panelRotator = new dojox.widget.Rotator({ transition: "dojox.widget.rotator.crossFade", duration: 2500, panes: esriGeowConfig.rotatorPanels },dojo.byId("imgRotator")); var controller = new dojox.widget.rotator.Controller({ rotator: panelRotator, commands:"#" }, dojo.byId("categories")); }

Configure Panels rotatorPanels:[{ innerHTML:'<div><div class="item whiteTxt" style="background-image:url(images/slide-1.jpg);display:block;" title="Maps and Apps for Everyone"><div class="contentWidth"> <h1>Maps and Apps for Everyone</h1> <p>Easy online discovery, access, visualization, and dissemination of geospatial information.</p><</div></div></div>' },{ innerHTML:'<div><div class="item whiteTxt“ style="background-image:url(images/slide-2.jpg);display:block;" title="Intelligent Web Maps"><div class="contentWidth"> <h1>Intelligent Web Maps</h1> <p>Add pop-ups, analytic and temporal services to maps and then share with others.</p></div></div></div>' }]

ArcGIS JavaScript API Status Fast development cycle Initial Release May 2008 Current Version 2.4—released July 8rd, 2011 2.4 works with ArcGIS Server 10 and 9.3 (also works with 10.1 beta) When going from one version to the next we try not to break compatibility Older versions are set in stone and will not change 1.0 through 2.4

What is in the JavaScript API? Map control Widgets (Dijits) Overview, Editor, Template Picker, Attribute Inspector, Time Slider, Measurement Layers Tiled, Dynamic, FeatureLayer, WMS, WMTS, KML, Graphics Graphics Tasks GP, Network, Geometry, Query, Locator Geometry Symbology ArcGIS Server Symbology Toolbars Edit, Draw, Navigation

Tour of API through SDK…

Let’s build some apps…

ArcGIS.com ArcGIS.com is an easy way to author maps for the web JSAPI can read ArcGIS Web Maps Build applications quickly by consuming ArcGIS Web Maps

ArcGIS JavaScript API – What do you need to know? Online SDK -- http://links.esri.com/javascript Sample driven Code gallery Samples powered by an ArcGIS Server sample server http://sampleserver1.arcgisonline.com/arcgis/rest/services (9.3.1) http://sampleserver2.arcgisonline.com/arcgis/rest/services (9.3.1) http://sampleserver3.arcgisonline.com/arcgis/rest/services (10.0) http://sampleserver4.arcgisonline.com/arcgis/rest/services (10.0) http://sampleserver5.arcgisonline.com/arcgis/rest/services (10.0) JavaScript hosted by ESRI http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4 and http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4compact Flexible release cycle Hosted by ArcGIS Online -- 24/7