I am creating several routes, these routes represent the public transportation network of a city. Now I want to calculate the best combination to go from a point A to a point B using those routes.
Right now I am working with ArcGIS API for JavaScript 3.22, but I am open to use there others SDK from Arcgis.
I'm checking the docs, and the samples, but I have no clue about how to implement this. I am trying to use the RouteTask, but it looks like I'll need to use another component.
-
Do you have a subscription based service available through ArcGIS Online?whyzar– whyzar2017年10月11日 14:34:14 +00:00Commented Oct 11, 2017 at 14:34
-
@whyzar I am using the free subscription, I am participating in a contest, so right now I have no money to spend :-)dobleUber– dobleUber2017年10月11日 14:37:20 +00:00Commented Oct 11, 2017 at 14:37
-
I understand, it appears as I provided in the my answer that to use that feature a subscription is required.whyzar– whyzar2017年10月11日 14:38:54 +00:00Commented Oct 11, 2017 at 14:38
1 Answer 1
In terms of ArcGIS SDKs, you are working with one that is robust with functionality. However, for your task it requires the following:
The Directions widget uses the World Network Analysis as the default service used to calculate driving directions. This is a subscription based service available through ArcGIS Online. If you have an ArcGIS Server Network Analysis service that you want to use to calculate directions specify the url to the service using the Directions widget routeTaskUrl constructor parameter.
As such, you are tied to the subscription to access this feature. You could look into the World Network Analysis as an option
-
I am know the widget, but I don't want to use it. So I gonna try World Network Analysis. ThanksdobleUber– dobleUber2017年10月11日 14:41:27 +00:00Commented Oct 11, 2017 at 14:41
Explore related questions
See similar questions with these tags.