ArcGIS API for JavaScript: Hosted/viewshed_roads (FeatureServer)

Built using the ArcGIS API for JavaScript