POST
|
Robert, Got it. I will think about it carefully. Thank you very much .
... View more
03-23-2016
06:47 AM
|
0
|
0
|
513
|
POST
|
Hi Robert, Thank you for your advice. I know this widget but I have already used the routeTask API to solve the route. I wonder if I use this Directions API, I will have to rewrite the solve part.
... View more
03-23-2016
06:38 AM
|
0
|
2
|
513
|
POST
|
Hi Jake, Thank you for your help. I will have a look and try.
... View more
03-23-2016
06:35 AM
|
0
|
0
|
513
|
POST
|
Hello everyone. I have a problem on route task. I want to show the detailed information about those routes calculated by the solve() function in route task API. The screenshot is the route results I got.After getting the route results, I want to click one route then show the detailed information of this route. How can I achieve this? I appreciate any help you can provide.
... View more
03-23-2016
05:42 AM
|
0
|
6
|
1971
|
POST
|
Hi Tom, Sorry for replying you so late. Thanks for your help. I found a solution after asking you for help. There is no question now. Thank you for the help again! Lin
... View more
02-28-2016
11:55 PM
|
0
|
0
|
519
|
POST
|
I got a solution. We can specify the 'RouteParameters.returnStops' as true, so there will be the stops of current route in each routeResult .Just like this. In this way, we can know which route the time represents for.
... View more
02-26-2016
04:54 AM
|
1
|
0
|
306
|
POST
|
Hi Tom, I have a same question. I want to calculate travel time of several routes. Here is my question.https://community.esri.com/thread/172864 Would you please have a look? Appreciated for any advice.
... View more
02-25-2016
07:02 PM
|
0
|
2
|
519
|
POST
|
Hello everybody, I am trying to get the travel time of several routes using the methods and functions in 'RouteTask' but I met a problem. Here are my codes. function Judge(){
var combination=get_Combination(); //get_Combination() is a function that can return the different combinations of stops
for(var h=0;h<combination.length;h++){
clearStops(); // clear the stops set
add(combination ); // add the stop combinations in array into the stops set
solve_Route();
}
} the solve_Route() function is, function solve_Route() {
routeTask.solve(routeParams).then(function(results){
console.log(results.routeResults[0].directions.totalTime);
}); My testing data has 3 stops and there are 4 combinations in total. Except the combination that only has one stop. The problem is the order of travel time is different every time as follow. It seems like the order is random. I don't know what the order depends on. That's to say I don't know each time corresponds to which route. And I need to know this cause I still need to use the time do some judgement. So any suggestions I will be so appreciated.
... View more
02-24-2016
06:16 AM
|
0
|
1
|
1826
|
POST
|
Thank you very much for your advice! I will try those methods and my ArcGIS Server is 10.2.^.^
... View more
01-18-2016
06:31 PM
|
0
|
0
|
787
|
POST
|
Hello everybody, I am new for ArcGIS JS development. I want to get the travel time between 2 or more stops using ArcGIS API for JS, but I don't know which API I could use. I have the network server pulished by myself and it has the fields of road length and speed limit. I just want to get the travel time between 2 places. Appreciate for any suggestion. Lin
... View more
01-17-2016
07:42 PM
|
0
|
3
|
3662
|
Title | Kudos | Posted |
---|---|---|
1 | 02-26-2016 04:54 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|