Greetings Forum,I am using the directions component in an app and I am trying to use some point locations (road closures) as barriers. I have added them to the route options and in the debugger can see that they are loaded into the directions component instance in my app. I have also verified in the debugger that they are in the correct projection. When the getDirections() are executed, it just ignores the point barriers. What am I missing?<esri:Directions id="drivingDirections" width="280" height="{directionsContainer.height -30}" left="5" bottom="5"
map="{map}" routeOptions="{directionOptions}" geocoderOptions="{directionGeocoderOptions}"
url="http://gis.yakimawa.gov/arcgis101/rest/services/Streets/StreetsNetwork/NAServer/Route"/>
<esri:DirectionsRouteOptions id="directionOptions" pointBarriers="{roadClosures}" />
// get road closures
roadClosuresURL = event.result.configuration.roadClosuresURL;
var rcQuery:Query = new Query();
rcQuery.where = 'OBJECTID > 0';
rcQuery.outFields = ["*"];
rcQuery.returnGeometry = true;
rcQuery.outSpatialReference = new SpatialReference(102100);
roadClosuresQueryTask.execute(rcQuery);
private function roadClosuresResult(result:QueryEvent):void {
roadClosures = result.featureSet;
}