|
POST
|
You probably need to look at Data Driven Pages [What are Data Driven Pages?—Help | ArcGIS for Desktop | What’s New in 10: The good ship DS Mapbook has sailed; hello Data Driven Pages | Support Services Blog ]
... View more
08-01-2016
01:35 AM
|
1
|
0
|
989
|
|
POST
|
Does it make any difference if you add "!important" to your td width setting? td.style.width = "61px !important";
... View more
07-29-2016
04:30 AM
|
0
|
1
|
1154
|
|
POST
|
Looks fine. What exactly is the "copied tile cache" that you are publishing from the MXD?
... View more
07-27-2016
10:50 PM
|
0
|
1
|
1574
|
|
POST
|
You could use the middle vertex of the polyline path array: var mid = parseInt( selectedResult.feature.geometry.paths[0].length / 2);
mapView.popup.open ({
location: selectedResult.feature.geometry.paths[0][mid],
features: [selectedResult.feature]
});
... View more
07-26-2016
11:12 PM
|
5
|
1
|
4690
|
|
POST
|
Your URL syntax should look something like http://<server>/arcgis/services/<service>/MapServer/WMSServer
... View more
07-26-2016
11:04 PM
|
1
|
0
|
1574
|
|
POST
|
Register the inputdata folder as a data store on ArcGIS Server. [About registering your data with ArcGIS Server—Documentation | ArcGIS for Server ]
... View more
07-26-2016
10:54 PM
|
2
|
1
|
2683
|
|
POST
|
API 3.17: You can split/cut geometries using the geometryEngine cut method [esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript 3.17]OR with the GeometryService cut method [GeometryService | API Reference | ArcGIS API for JavaScript 3.17] API 4.0: Cut method: geometryEngine | API Reference | ArcGIS API for JavaScript 4.0
... View more
07-25-2016
11:58 PM
|
0
|
1
|
727
|
|
POST
|
I tested and it seems that the Lengths operation returns the full length for a multipath polyline geometry. So you would still need to iterate the polyline paths for getting the individual path length. Try this to return the polyline path lengths: var polyLine = new Polyline(...); // the polyline you want path lenghts for
// iterate polyline paths
for (p in polyLine.paths){
var tmpline = new Polyline({
"paths": [polyLine.paths
],
"spatialReference": polyLine.spatialReference
});
// get length for each path from geometry service
getLengths(tmpline);
}
function getLengths(geom){
var lengthParams = new LengthsParameters();
lengthParams.polylines = [geom];
lengthParams.lengthUnit = geomService.UNIT_METER;
lengthParams.geodesic = true;
geomService.lengths(lengthParams, function(result){
console.log(result.lengths[0]);
});
} You might need to do some organising of the results to make sure the order is right.
... View more
07-25-2016
12:26 AM
|
1
|
0
|
2119
|
|
POST
|
Based on the REST API documention [Lengths (Operation) ] it should return the length of each path.
... View more
07-21-2016
11:52 PM
|
1
|
2
|
2119
|
|
POST
|
See this blog: Clipping an image or raster in ArcGIS | ArcGIS Blog Convert the polygon area you want to clip from the raster to a graphic. Then with the raster, right click and run Data -> Export Data. The option for Selected Graphic (Clipping) will be available and you will have the option to clip inside or outside the polygon.
... View more
07-21-2016
05:12 AM
|
1
|
0
|
3018
|
|
POST
|
In what way are you presenting the column information to the two groups? Direct access or Web service? If it is point feature labels, then a label expression could work. If it is click/query based, you could manipulate the value for column C easily in a Web interface.
... View more
07-21-2016
05:02 AM
|
0
|
0
|
2386
|
|
POST
|
So the legend works when you initiate the application with any of the 3 symbology sets? And you are not forcing the legend to update before the layer has completely updated the symbology renderer?
... View more
07-08-2016
05:49 AM
|
0
|
1
|
3374
|
|
POST
|
I believe your answer is in the setExtent() method: Map | API Reference | ArcGIS API for JavaScript 3.17 map.setExtent(esri.graphicsExtent(map.graphics.graphics.slice(1)).expand(1.5)); Notice the slice performed on the map graphics array to remove the first graphic at latlng 0,0. You can thus remove the first graphic element before continuing your script functions. The expand() function is to make sure all the graphics fit in the view.
... View more
07-08-2016
05:00 AM
|
1
|
1
|
2465
|
|
POST
|
It should not be necessary to rebuild the legend every time. Try setting the autoUpdate property to true and run the refresh() after the layer renderer change.
... View more
07-07-2016
11:13 PM
|
0
|
3
|
3374
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2024 12:37 AM | |
| 1 | 10-02-2025 10:28 AM | |
| 1 | 09-17-2024 12:29 AM | |
| 1 | 03-15-2024 11:33 AM | |
| 1 | 03-13-2024 11:20 PM |
| Online Status |
Online
|
| Date Last Visited |
10 hours ago
|