Time to practice with geoprocessing tasks

In this exercise, you will code a simple application that displays drive time polygons on a map by accessing the CreateDriveTimePolygons model provided by Esri. The application will create 1-, 2-, and 3-minute drive time polygons around a point clicked on the map.

  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 snippet:
    function init(){
    var map = new esri.Map("mapDiv", {
    center: [-56.049, 38.485],
    zoom: 3,
    basemap: "streets"
  3. Add the following references for the objects that we'll use in this exercise: ...

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.