ArcGIS API for JavaScript: Hosted/CDM_Cost_Buffer (FeatureServer)
Built using the ArcGIS API for JavaScript