|
POST
|
Are you using Legacy or AMD style class referencing? You add the World reference layer as a Dynamic Map Service layer to your map. The Javascript API reference is here: https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer.html The code for the constructor will look like this: var worldDMS = new esri.ArcGISDynamicMapServiceLayer(""http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer");
map.addLayer(worldDMS);
... View more
02-17-2015
05:46 AM
|
0
|
3
|
1552
|
|
POST
|
You can navigate to a specific web service page e.g. http://server.arcgisonline.com/arcgis/rest/services/Reference/World_Boundaries_and_Places_Alternate/MapServer and at the top of the page there are a couple of "View In" options. For ArcGIS Desktop you can click on the ArcMap link, which will allow you to download a layer file (*.lyr) for ArcGIS Desktop.
... View more
02-17-2015
05:25 AM
|
0
|
0
|
1552
|
|
POST
|
You could use the Esri sample data that is standard with the installation disks or the Esri Web services here: http://server.arcgisonline.com/arcgis/rest/services/Reference
... View more
02-17-2015
05:02 AM
|
0
|
6
|
1552
|
|
POST
|
Check out ArcGIS Data Driven Pages. Basically you can generate a series of maps based on a unique identifier for a layer with multiple features.
... View more
02-16-2015
02:34 AM
|
1
|
1
|
3636
|
|
POST
|
A combo of Greg's and Darren's answer worked for me: import arcpy, os, string
rootFolder = 'C:\\test'
ctr = 1
for root, dirs, files in os.walk(rootFolder):
for name in files:
if name.endswith(".shp"):
# shapefile name without extension
shpName = os.path.splitext(name)[0]
# absolute file path
absFile = os.path.abspath(os.path.join(root,name))
# output file path
output_layer = rootFolder + '\\buffer_' + shpName + '_' + str(ctr) + '.shp'
# buffer
arcpy.Buffer_analysis(absFile, output_layer, "1 Kilometers", "FULL", "ROUND", "ALL", "")
ctr = ctr + 1
... View more
02-16-2015
12:23 AM
|
0
|
1
|
9665
|
|
POST
|
As steve way says, you can use a custom panel CSS size class. In "js/main.js" when the tool is created with toolbar.createTool(tool, panelClass), replace panelClass with your own custom class, which you also define in "css/styles.css". So in main.js => var mytool = toolbar.createTool(tool, "myPanel") and in styles.css => .myPanel{height:200px /*custom height*/}
... View more
02-13-2015
02:00 AM
|
1
|
1
|
2763
|