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