dojo.require("esri.tasks.NAUTurn")
Description
(Added at v1.4)
Constants representing how U-Turns are handled. NAUTurn has no constructor. Should be used in favor of network analysis parameters classes. For example:
require(["esri/tasks/RouteParameters", "esri/tasks/NATypes"], function(RouteParameters, NATypes){
var routeParams = new RouteParameters();
routeParams.restrictUTurns = NATypes.UTurn.ALLOW_BACKTRACK;
});
Samples
Search for
samples that use this class.
Constants
ALLOW_BACKTRACK | Allow u-turns at the end of any street. |
AT_DEAD_ENDS_AND_INTERSECTIONS | Allow u-turns at dead ends and intersections. |
AT_DEAD_ENDS_ONLY | Only allow u-turns at dead ends where a street is not connected to another street. |
NO_BACKTRACK | Do not allow u-turns at the end of any streets. |