Viewshed (online)

Use a Geoprocessor object to access a viewshed online geoprocessing service. Specify the maximum viewshed distance to calculate from a viewpoint, and click the map to create the viewpoint. The service calculates and returns the viewshed. The viewshed is shown on the map using a GraphicsLayer object.