Map<String,Object> attributes = new HashMap<String,Object>(); attributes.put("CurbApproach", 1); // set right side curb approach StopGraphic stop = new StopGraphic(new Point(-117,34), attributes);
Hello Haider,The curb approach settings is not an explicit method on the StopGraphic class, but can be added as an attribute on the graphic. The values supported for offline routing are the same as those supported for Network Analyst services. Detailed information about each value can be found in the stop attribute section of the service docs http://resources.arcgis.com/en/help/arcgis-rest-api/#/Route_service/02r300000036000000/.A quick reference would look something like this:0 - either side1 - right side2 - left side3 - no U-turnAnd accompanying Android code: Map<String,Object> attributes = new HashMap<String,Object>(); attributes.put("CurbApproach", 1); // set right side curb approach StopGraphic stop = new StopGraphic(new Point(-117,34), attributes);Best,Joseph
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.