Time to practice with graphics

In this exercise, you will learn how to create and display graphics on a map. We are going to create a thematic map, that shows population density by county for the state of Colorado. You will also be introduced to query tasks. As you will learn in a later chapter, tasks can be executed in ArcGIS Server and include things such as spatial and attribute queries, identification of features, and geocoding. Finally, you will learn how to attach attributes to your graphic features and display them in an info window:

  1. Open the JavaScript Sandbox at http://developers.arcgis.com/en/javascript/sandbox/sandbox.html.
  2. Remove the JavaScript content from the <script> tag that I have highlighted in the following code block:
     <script> ...

Get Building Web and Mobile ArcGIS Server Applications with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.