|
POST
|
Rickey, I am not seeing this behavior. What theme are you using? Regards, Tom
... View more
05-25-2016
09:49 AM
|
0
|
4
|
2580
|
|
POST
|
Fabien, It looks like a couple of the stops failed. The stop locations must be with in the tolerance provided for the street network. They must be close enough to the street network to be part of the solution. Regard, Tom
... View more
05-25-2016
09:46 AM
|
1
|
4
|
1820
|
|
POST
|
Fabien, Your original request may send the stop coordinates, but the results don't contain the stop data. The app you had posted only showed the results, not the request. Regards, Tom
... View more
05-25-2016
09:29 AM
|
0
|
1
|
636
|
|
POST
|
Rickey, Is this in WAB 2.0? Which browser are you using? Regards, Tom
... View more
05-25-2016
09:25 AM
|
0
|
1
|
2580
|
|
POST
|
Fabien, Without the coordinates for each stop, they cannot be placed on the map. I do see that the output orders have distances traveled and you could possibly split the polylines at each of those distances to approximate the stop location. Regards, Tom
... View more
05-25-2016
08:14 AM
|
0
|
3
|
2509
|
|
POST
|
Rickey, Success! In the measure/widget.js you just need to add a single line of code in the postCreate function. this.drawBox.activate("LINE"); Regards, Tom
... View more
05-24-2016
08:37 AM
|
1
|
3
|
2580
|
|
POST
|
Rickey, Not sure I have an easy answer for this. I will investigate. Regards, Tom
... View more
05-24-2016
08:03 AM
|
0
|
0
|
2579
|
|
POST
|
Fabien, I would add a UniqueValueRenderer. I have updated the previous sample to use a UniqueValueRenderer. http://gis.yakimawa.gov/demo/optimo.html Regards, Tom
... View more
05-23-2016
03:13 PM
|
1
|
0
|
2509
|
|
POST
|
Fabien, I modified your script to read the results and plot the route lines. You were on the right track. The results returned paths instead of a complete polyline that could be plotted. I created a polyline from each path. You can look at the results here: http://gis.yakimawa.gov/demo/optimo.html Regards, Tom
... View more
05-23-2016
11:16 AM
|
1
|
2
|
2509
|
|
POST
|
Roxanne, Zoom is not a method of map. When a graphic in a feature layer is clicked, it will return the graphic, You can then use the graphic geometry or the event mapPoint to zoom to that location. Here is a further explanation: FeatureLayer | API Reference | ArcGIS API for JavaScript It should look something like this: layerName.on("click", function (event) { map.centerAndZoom(event.mapPoint, 4); }); Regards, Tom
... View more
05-20-2016
02:54 PM
|
0
|
2
|
4123
|
|
POST
|
Venus, I was also not able to add the Village layer. The Village layer is pointing to an http service, not https. I was able to view your REST services for both http and https. I would try pointing the Village layer to your https service. Regards, Tom
... View more
05-19-2016
08:00 AM
|
1
|
0
|
379
|
|
POST
|
Fabien, Looking at your JSON data, I am not seeing anything resembling geometry. I see statistics for each vehicle like travel times and distances, but not a polyline geometry that would show the route taken. Without this geometry, you can't draw anything to the map. It doesn't look like the JSAPI has a Vehicle Routing Problem module. You must be doing these on the server. Be sure to include the geometry on your output to be able to draw it from your results. Regards, Tom
... View more
05-16-2016
08:59 AM
|
0
|
1
|
2509
|
|
POST
|
You can always just use a number too. timeSlider.setTickCount(30); Regards, Tom
... View more
05-13-2016
03:43 PM
|
3
|
2
|
2134
|
|
POST
|
Fransisco, setTickCount is expecting a number. Since labels is an array, you could do: timeSlider.setTickCount(labels.length); Regards, Tom
... View more
05-13-2016
03:27 PM
|
0
|
4
|
2134
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-24-2023 10:45 AM | |
| 1 | 05-19-2023 08:13 AM | |
| 1 | 02-22-2023 09:12 AM | |
| 1 | 05-15-2015 03:11 PM | |
| 1 | 02-10-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-26-2024
04:50 PM
|