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