I'm working with a 3D network dataset and published a network analysis service with ArcGIS Server 10.1. I like to use the service within a web applikation using ArcGIS JavaScript API (Version 3.4). Therefore I like to use the z-Values. Although the REST API already supports a parameter "returnZ" the JavaScript API doesn't: http://resources.arcgis.com/en/help/rest/apiref/nasolve.html http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/routeparameters.html
var routeTask = new esri.tasks.RouteTask(routeTaskURL);
var routeParams = new esri.tasks.RouteParameters();
routeParams.stops = new esri.tasks.FeatureSet();
routeParams.returnRoutes = true;
routeParams.returnDirections = true;
routeParams.returnZ = true; // ignored
routeParams.directionsLengthUnits = esri.Units.METERS;
routeParams.restrictionAttributes = ["none"];
routeTask.solve(routeParams);
When will the API support this parameter or is there a workaround?
... View more