|
POST
|
Have a look at esri.request: 3.19: esri/request | API Reference | ArcGIS API for JavaScript 3.19 4.2: request | API Reference | ArcGIS API for JavaScript 4.2
... View more
02-22-2017
12:59 AM
|
1
|
18
|
5381
|
|
POST
|
I don't think that parameter option is available. See the Export Web Map specifications and use the object model provided to add extra parameters. I must admit, I played around with the export web map script and I could not get the GP service to save the file in the GP service's output folder, but it worked great if you specify another "managed" output folder on the server. E.g: import arcpy
arcpy.env.workspace = r"\\gis-server\print\outputs"
json = arcpy.GetParameter(0)
name = arcpy.GetParameterAsText(1)
arcpy.ExportWebMap_server(json, name, "PDF", "", "MAP_ONLY")
... View more
02-21-2017
10:22 PM
|
1
|
1
|
3214
|
|
POST
|
Yes, like a normal geoprocessing service. You must obviously create and publish the script tool and you can set all the map options on the client side and just pass them as input parameters for the GP service.
... View more
02-20-2017
11:48 PM
|
1
|
3
|
3214
|
|
POST
|
It is definitely possible if you generate the map with arcpy e.g. arcpy.ExportWebMap_server(webmapjsonstring,"TEST.PDF","PDF","","MAP_ONLY") So maybe you can create your own ExportWebMap GP tool from a script and specify the output filename as an input parameter
... View more
02-20-2017
11:18 PM
|
1
|
5
|
3214
|
|
POST
|
Do you want the file to be stored with that filename in the service directory or should the file be named like that for download for the user?
... View more
02-20-2017
10:43 PM
|
0
|
7
|
3214
|
|
POST
|
That helped! The right-cilck->close step did not work for some reason, but instead you can find the Process ID in the Task Manager and just end the task before finding and deleting the little gremlin lock file.
... View more
02-20-2017
10:35 PM
|
0
|
0
|
6539
|
|
POST
|
Why are you nesting your registry.byId().on("change") event listeners? This is just causing unnecessary re-registering of the event listeners (see the console outputs you've added). I think if you sort those out your graphics problem will be resolved.
... View more
02-19-2017
10:48 PM
|
0
|
0
|
1185
|
|
POST
|
It's a Feature Service, that's why you are not seeing the legend option, but if you view the properties of each layer you should see the default render in the Drawing Info. You can also see it in the JSON of each layer.
... View more
02-19-2017
10:11 PM
|
2
|
17
|
7307
|
|
POST
|
According to the base class dijit/form/HorizontalSlider documentation the widget only has an "onChange" event, so you have to release the the slider handle to fire the event. If you use an <input type="range"> element as slider, you could use the "oninput" event as a listener for continuous value change while dragging the handle, but you loose all the fancy styling of the widget.
... View more
02-16-2017
10:25 PM
|
0
|
1
|
1416
|
|
POST
|
Your building footprint will be based on a defition query, so in the slider's onchange event you must get the slider value and apply it to the building feature layer definition query Something like this: onChange: function(value){
dom.byId("sliderValue").value = number.format(value, {places:0});
buildingLayer.definitionExpression = "ELEVATION > " + value.toString();
} where ELEVATION is the feature layer attribute field indicating the building height.
... View more
02-16-2017
12:35 AM
|
1
|
3
|
1416
|
|
POST
|
You could make use of the Esri Resource Proxy to allow authentication and token acquisition for the secure layers.
... View more
02-15-2017
03:38 AM
|
1
|
0
|
982
|
|
POST
|
You can add a Layer File parameter to the model to let the user select the symbology file (*.lyr) and then in the model run the Apply Symbology From Layer for the output.
... View more
02-14-2017
05:15 AM
|
2
|
0
|
561
|
|
POST
|
No, just the graphic's attributes. You'll still need to push the values through to the editable feature class.
... View more
02-14-2017
05:11 AM
|
0
|
1
|
1592
|
|
POST
|
You can create your own attributes object and set the attributes at any time: var attrobj = {
id: null,
x: null,
y: null,
comment: ""
};
newGraphic.attributes = attrobj;
newGraphic.attributes.id = myIDval;
newGraphic.attributes.x = myXval;
newGraphic.attributes.y = myYval;
newGraphic.attributes.comment = myComment;
... View more
02-14-2017
03:09 AM
|
0
|
3
|
1592
|
|
POST
|
You can start here: Downloading data - OpenStreetMap Wiki
... View more
02-13-2017
01:32 AM
|
1
|
1
|
3046
|
| 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 |
Offline
|
| Date Last Visited |
4 weeks ago
|