SlideShare a Scribd company logo
ArcGIS API for JavaScript
An Introduction
Kelly Hutchins
Heather Gonzago
Why
• Interactive maps
• Widgets
• Analysis
• Lots of samples
ArcGIS API for JavaScript: An Introduction
Learn about the API
ArcGIS API for JavaScript: An Introduction
Developer Setup
• IDE (s)
• Code Assist
• Plugins
ArcGIS API for JavaScript: An Introduction
Widgets, Events, Graphics,
Selection
Build sample app
ArcGIS API for JavaScript: An Introduction
ArcGIS API for JavaScript: An Introduction
Get the API
• Hosted
• Download
http://developers.arcgis.com/en/downloads
ArcGIS API for JavaScript: An Introduction
Make a map
ArcGIS API for JavaScript: An Introduction
Loading Modules
• Preferred arg alias
ArcGIS API for JavaScript: An Introduction
ArcGIS API for JavaScript: An Introduction
Scrambled Tiles
ArcGIS API for JavaScript: An Introduction
Basemaps
ArcGIS API for JavaScript: An Introduction
Developer Console
ArcGIS API for JavaScript: An Introduction
Add Layers
• Lots of types
- Tiled
- Dynamic
- Graphics
- Feature layers
- CSV
- KML
- WMS/WMTS/WFS
- Custom layers
ArcGIS API for JavaScript: An Introduction
Layer coding pattern
1. Load module
2. Create layer
3. Specify properties
4. Add layer to map
require(["esri/map",
"esri/layers/FeatureLayer",
"dojo/domReady!"], function(Map,
FeatureLayer)
var featureLayer = new
FeatureLayer("http://
sampleserver6.arcgisonline.com/arcgis/
rest/services/USA/MapServer/2",{
outFields: ["*”]
});
map.addLayer(featureLayer );
ArcGIS API for JavaScript: An Introduction
Demo: Add feature layer to application
ArcGIS API for JavaScript: An Introduction
Deep Dive: Feature Layers
• Selection …
• Query
• Edit
• Renderer
ArcGIS API for JavaScript: An Introduction
Renderers
ArcGIS API for JavaScript: An Introduction
Demo: Apply renderer
ArcGIS API for JavaScript: An Introduction
Popups
• Add interactivity
• Information about ..
- A location
- A feature
- The results of a search
• Customizable
ArcGIS API for JavaScript: An Introduction
Demo: Make map interactive
ArcGIS API for JavaScript: An Introduction
Tip: Reduce code by using a web map
• esri/arcgis/utils
- createMap
ArcGIS API for JavaScript: An Introduction
Widgets
• Search
• Legend,
• Directions,
• Print,
• Basemap Toggle,
• etc
ArcGIS API for JavaScript: An Introduction
Widget coding pattern
• Load module
• Create widget
• Set widget properties
• Call startup
ArcGIS API for JavaScript: An Introduction
Demo: Add search widget
ArcGIS API for JavaScript: An Introduction
Demo: Directions widget
• Requires credit-based route service
ArcGIS API for JavaScript: An Introduction
Tip: Working with secure resources
• Identity Manager
• OAuth Support
• Proxies
ArcGIS API for JavaScript: An Introduction
Demo: Customize widget appearance
ArcGIS API for JavaScript: An Introduction
Events
• Event handlers
- Load page, click map, execute task, add layer ….
• dojo/on
ArcGIS API for JavaScript: An Introduction
Want to learn more?
• Documentation
- https://developers.arcgis.com/javascript/
- Dojo documentation
• Related Esri Training and Tutorials
- Esri class: Building Applications with the ArcGIS API for JavaScript
- Esri webinar: Data visualization and time saving tips
• Additional Resources
- JavaScript online training classes: free and fee-based
ArcGIS API for JavaScript: An Introduction
Thank you…
• Please fill out the session survey in your mobile app
• Select [enter session title here] in the Mobile App
- Use the Search Feature to quickly find this title
• Click “Technical Workshop Survey”
• Answer a few short questions and enter any comments
ArcGIS API for JavaScript: An Introduction
arcgis api for javascript an introduction.pdf

More Related Content

PPTX
Gis without the_box_may2012
PPTX
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
PDF
Esri Map App Builders
PDF
Gis development
PPTX
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
PPTX
Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtd...
PDF
Esri Scotland Conf 2016 Web AppBuilder
PPTX
Android App "Hiker Notes"
Gis without the_box_may2012
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Esri Map App Builders
Gis development
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Developer’s Guide to the ArcGIS Portal API, Esri, Julie Powell, Antoon Uijtd...
Esri Scotland Conf 2016 Web AppBuilder
Android App "Hiker Notes"

Similar to arcgis api for javascript an introduction.pdf (20)

PDF
ArcGIS for Server, Portal for ArcGIS and the Road Ahead - Esri norsk BK 2014
PDF
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
PDF
Portal for ArcGIS – beste praksis - BK2016
KEY
Geotalk presentation
PPT
webgis architecture and practices patterns
PDF
新しい技術を取り入れるための実験のやり方 〜サーバーレス・機械学習・PWAを実戦に投入するまで〜
PPTX
2014 Workshop - InstantAtlas for ArcGIS Online product overview and the Insta...
PPTX
InstantAtlas Profile Builder & the IA 2014 Road Map
PDF
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
PDF
Architecting the ArcGIS Platform
PPTX
SETCON'18 - Ilya labacheuski - GraphQL adventures
PDF
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
PPTX
2016 development track: geospatial java script… so many choices, so little t...
PPTX
Swagger - make your API accessible
PDF
Serverless - Developers.IO 2019
PDF
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
PPTX
ArcGIS Online Lunch and Learn
PDF
Esriuk_track5_pro_launch
PPTX
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
ArcGIS for Server, Portal for ArcGIS and the Road Ahead - Esri norsk BK 2014
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
Portal for ArcGIS – beste praksis - BK2016
Geotalk presentation
webgis architecture and practices patterns
新しい技術を取り入れるための実験のやり方 〜サーバーレス・機械学習・PWAを実戦に投入するまで〜
2014 Workshop - InstantAtlas for ArcGIS Online product overview and the Insta...
InstantAtlas Profile Builder & the IA 2014 Road Map
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Architecting the ArcGIS Platform
SETCON'18 - Ilya labacheuski - GraphQL adventures
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
2016 development track: geospatial java script… so many choices, so little t...
Swagger - make your API accessible
Serverless - Developers.IO 2019
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
ArcGIS Online Lunch and Learn
Esriuk_track5_pro_launch
Break on Through (To The Java(Script) Side) - Smart Development - Esri UK Ann...
Ad

Recently uploaded (20)

PDF
Sustainable Fire Safety How AMCs Contribute to a Greener Future.pdf
PDF
The Role of Testing and QA in Successful Mobile App Development_Spinx Infotec...
PDF
Looking to Work Abroad_ Here’s Why Canada is a Great Option.pdf
PDF
Expert Medical Coding Services for Faster Reimbursements.pdf
PDF
Top In-Demand Occupations for Skilled Migration to Australia in 2025
PDF
Profitable Farming Starts with AI in Agriculture | Rubixe
PPTX
The Rise of Work-from-Home Internships.pptx
PDF
Leveraging Earth Observation Data to Improve Wildfire Prevention and Manageme...
PDF
Secure Your World with Acme Enterprises PDF Sharing.pdf
PDF
Top 7 Cybersecurity Companies in Abu Dhabi
PDF
Investhill_Report OCD (2007-2024)_2025-1.pdf
PDF
Choosing an Entrepreneurial Path Based on Your Personality.pdf
PDF
Why Should Call Centers Use Inbound Call Tracking in 2025.pdf
PDF
Digital marketing strategy slides .pdf
PDF
AI Staffing for Startups & Growing Businesses | Rubixe
PPT
8.1 Protein energy malnutrition paedatric.ppt
PDF
Robert Hume San Diego_ How Firefighting Tools and Technology Have Transformed...
PDF
Understanding LA's Zero Waste Initiative
PDF
5 Best Sites to Buy Snapchat Accounts (Aged & Pva).pdf
PDF
2025 Electrician Marketing Trends Report | Destiny Marketing Solutions
Sustainable Fire Safety How AMCs Contribute to a Greener Future.pdf
The Role of Testing and QA in Successful Mobile App Development_Spinx Infotec...
Looking to Work Abroad_ Here’s Why Canada is a Great Option.pdf
Expert Medical Coding Services for Faster Reimbursements.pdf
Top In-Demand Occupations for Skilled Migration to Australia in 2025
Profitable Farming Starts with AI in Agriculture | Rubixe
The Rise of Work-from-Home Internships.pptx
Leveraging Earth Observation Data to Improve Wildfire Prevention and Manageme...
Secure Your World with Acme Enterprises PDF Sharing.pdf
Top 7 Cybersecurity Companies in Abu Dhabi
Investhill_Report OCD (2007-2024)_2025-1.pdf
Choosing an Entrepreneurial Path Based on Your Personality.pdf
Why Should Call Centers Use Inbound Call Tracking in 2025.pdf
Digital marketing strategy slides .pdf
AI Staffing for Startups & Growing Businesses | Rubixe
8.1 Protein energy malnutrition paedatric.ppt
Robert Hume San Diego_ How Firefighting Tools and Technology Have Transformed...
Understanding LA's Zero Waste Initiative
5 Best Sites to Buy Snapchat Accounts (Aged & Pva).pdf
2025 Electrician Marketing Trends Report | Destiny Marketing Solutions
Ad

arcgis api for javascript an introduction.pdf

  • 1. ArcGIS API for JavaScript An Introduction Kelly Hutchins Heather Gonzago
  • 2. Why • Interactive maps • Widgets • Analysis • Lots of samples ArcGIS API for JavaScript: An Introduction
  • 3. Learn about the API ArcGIS API for JavaScript: An Introduction
  • 4. Developer Setup • IDE (s) • Code Assist • Plugins ArcGIS API for JavaScript: An Introduction
  • 5. Widgets, Events, Graphics, Selection Build sample app ArcGIS API for JavaScript: An Introduction
  • 6. ArcGIS API for JavaScript: An Introduction
  • 7. Get the API • Hosted • Download http://developers.arcgis.com/en/downloads ArcGIS API for JavaScript: An Introduction
  • 8. Make a map ArcGIS API for JavaScript: An Introduction
  • 9. Loading Modules • Preferred arg alias ArcGIS API for JavaScript: An Introduction
  • 10. ArcGIS API for JavaScript: An Introduction
  • 11. Scrambled Tiles ArcGIS API for JavaScript: An Introduction
  • 12. Basemaps ArcGIS API for JavaScript: An Introduction
  • 13. Developer Console ArcGIS API for JavaScript: An Introduction
  • 14. Add Layers • Lots of types - Tiled - Dynamic - Graphics - Feature layers - CSV - KML - WMS/WMTS/WFS - Custom layers ArcGIS API for JavaScript: An Introduction
  • 15. Layer coding pattern 1. Load module 2. Create layer 3. Specify properties 4. Add layer to map require(["esri/map", "esri/layers/FeatureLayer", "dojo/domReady!"], function(Map, FeatureLayer) var featureLayer = new FeatureLayer("http:// sampleserver6.arcgisonline.com/arcgis/ rest/services/USA/MapServer/2",{ outFields: ["*”] }); map.addLayer(featureLayer ); ArcGIS API for JavaScript: An Introduction
  • 16. Demo: Add feature layer to application ArcGIS API for JavaScript: An Introduction
  • 17. Deep Dive: Feature Layers • Selection … • Query • Edit • Renderer ArcGIS API for JavaScript: An Introduction
  • 18. Renderers ArcGIS API for JavaScript: An Introduction
  • 19. Demo: Apply renderer ArcGIS API for JavaScript: An Introduction
  • 20. Popups • Add interactivity • Information about .. - A location - A feature - The results of a search • Customizable ArcGIS API for JavaScript: An Introduction
  • 21. Demo: Make map interactive ArcGIS API for JavaScript: An Introduction
  • 22. Tip: Reduce code by using a web map • esri/arcgis/utils - createMap ArcGIS API for JavaScript: An Introduction
  • 23. Widgets • Search • Legend, • Directions, • Print, • Basemap Toggle, • etc ArcGIS API for JavaScript: An Introduction
  • 24. Widget coding pattern • Load module • Create widget • Set widget properties • Call startup ArcGIS API for JavaScript: An Introduction
  • 25. Demo: Add search widget ArcGIS API for JavaScript: An Introduction
  • 26. Demo: Directions widget • Requires credit-based route service ArcGIS API for JavaScript: An Introduction
  • 27. Tip: Working with secure resources • Identity Manager • OAuth Support • Proxies ArcGIS API for JavaScript: An Introduction
  • 28. Demo: Customize widget appearance ArcGIS API for JavaScript: An Introduction
  • 29. Events • Event handlers - Load page, click map, execute task, add layer …. • dojo/on ArcGIS API for JavaScript: An Introduction
  • 30. Want to learn more? • Documentation - https://developers.arcgis.com/javascript/ - Dojo documentation • Related Esri Training and Tutorials - Esri class: Building Applications with the ArcGIS API for JavaScript - Esri webinar: Data visualization and time saving tips • Additional Resources - JavaScript online training classes: free and fee-based ArcGIS API for JavaScript: An Introduction
  • 31. Thank you… • Please fill out the session survey in your mobile app • Select [enter session title here] in the Mobile App - Use the Search Feature to quickly find this title • Click “Technical Workshop Survey” • Answer a few short questions and enter any comments ArcGIS API for JavaScript: An Introduction