ArcGIS API for JavaScript: Distance_to_main_roads (MapServer)
Built using the ArcGIS API for JavaScript