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
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