Buffer a KML Layer and the Send Result To a Geoprocessing Service

KML layers in the ArcGIS API for JavaScript give you full access to the features in a KML file. For this app, a KML file representing most of the Chesapeake and Ohio Canal near Washington, DC is added to the map. The features from the KML layer are first buffered using a geometry service and then population within the buffer is calculated via a geoprocessing service.
Buffer Distance (miles):
Approximately people within buffer.