|
POST
|
Ah, I think I understand. You can pass the "search" function any geometry. The sample uses a polygon. You need a point. The JavaScript version has a point buffer and it will return a collection. Once you get the collection you need to select the one you want. Once you have the feature you want, most people create a graphics layer and add a new graphic based on the features geometry and your "Selected" symbology. Attach to "OnClick" Pass query function the Point created from the mouse click and a buffer. The return will be a collection. Select the one you want if there are multiple items under that point. Create graphics layer Create new graphic with selected features geometry Add new graphic to graphic layer. This will "Cover up" the original symbology with your "selected" version. [You might just be able to change the symbology of the feature itself and save all the above.]
... View more
02-22-2017
10:06 AM
|
1
|
0
|
2430
|
|
POST
|
Yes, there are some key URL that everyone just kinda knows. Try looking in YourServer\arcgis\rest\services <- that should be the base url to your services. YourServer:6080\arcgis\manager YourServer:6080\arcgis\admin are also useful.
... View more
02-22-2017
09:58 AM
|
1
|
0
|
3395
|
|
POST
|
A WebMap/Portal Map is just a wrapper around "Normal" esri services. Once it loads the Map object will have the actual services that the WebMap is made up of.
... View more
02-20-2017
01:08 PM
|
0
|
3
|
3039
|
|
POST
|
Sorry, let me be more clear. Load your WebMap as usual but listen for the LoadComplete (don't quote me on that exact event name), then run through the Map objects Layer list. Each one will have a source. You can then use that to complete your TOC.
... View more
02-20-2017
01:06 PM
|
0
|
2
|
3039
|
|
POST
|
Oh - Right. But once the map layers loads, you run through it's collection and pull the SRC url from that. Swap out the FeaturServer for MapServer and your good to make your call.
... View more
02-20-2017
01:00 PM
|
0
|
5
|
3039
|
|
POST
|
Well, that's kinda the crux of the issue. They have not ported it yet.
... View more
02-20-2017
12:59 PM
|
0
|
0
|
6899
|
|
POST
|
ArcFM also has a Jive page ArcFM: Welcome |exchange
... View more
02-20-2017
12:57 PM
|
1
|
1
|
1537
|
|
POST
|
I highly recommend using Schneiders ArcFM SDK to do any field updates. ArcFM has numerous triggers on the data and if you bypass "their" code it can cause significant problems.
... View more
02-20-2017
12:56 PM
|
1
|
0
|
1537
|
|
POST
|
The translation is not very clear. Is this what you are trying to do? Identify Task | ArcGIS for Developers
... View more
02-20-2017
12:53 PM
|
0
|
1
|
2430
|
|
POST
|
You could base your renderer on a field in your data that you changed when you made your update.
... View more
02-20-2017
12:49 PM
|
0
|
0
|
2103
|
|
POST
|
I think you simply need to RegEx your URL before sending, replacing FeatureServer with MapServer. Each Feature service will (must) have a matching MapServer. But - to use your renderer... The 3.x util had a method that would return an SVG suitable for inserting into the browser dom. I was about to port when I realized I could hit the MapServer and get the same results, so I never pursued it. It ran through the JSON and created the image with js. Kinda brute force.
... View more
02-20-2017
12:46 PM
|
0
|
15
|
6899
|
|
POST
|
If you have the GeoEvent Extention/Server, it's really easy. -Setup GeoEvent Extention -Create an input of a feature class. Set it to pull the rec with the greatest time. -Create a Stream output layer -Tie the two together with (I can't remember the name) "mapping" tool. It maps an input to an output and allows processing. -Connect your JS to the Stream layer.
... View more
02-17-2017
09:27 AM
|
1
|
1
|
3046
|
|
POST
|
You may find this useful once you get your JSON back from the legend url. [Ripped off from the old 3.x\digit] /// Key Line /// src = "data:image/png;base64," + this.rootLayerTOC._legendResponse.layers[this.rootLayer.layerId].legend[0].imageData; /// _getLegendIconUrl: function(legend) {
var src = legend.url;
if (src == null) {
src = "data:image/png;base64," +
this.rootLayerTOC._legendResponse.layers[this.rootLayer.layerId].legend[0].imageData;
} else if (src != null && src.indexOf('data') == -1) {
// in some cases NULL value may cause #legend != #of renderer entry.
if (!has('ie') && legend.imageData && legend.imageData.length > 0) {
src = "data:image/png;base64," + legend.imageData;
} else {
if (src.indexOf('http') !== 0) {
// resolve relative url
src = this.rootLayer.url + '/' + this.serviceLayer.id + '/images/' + src;
}
if (this.rootLayer.credential && this.rootLayer.credential.token) {
src = src + "?token=" + this.rootLayer.credential.token;
} else if (esriConfig.defaults.io.alwaysUseProxy) {
src = esriConfig.defaults.io.proxyUrl + "?" + src;
}
}
}
return src;
... View more
02-17-2017
09:06 AM
|
0
|
19
|
6899
|
|
POST
|
Just to clarify - - You post your job - [MyServer]\arcgis\.... -> you get a job number back and you poll - The response comes back with a URL with your completed job on another server? [MyOtherServer]\arcgis\...jobcomplete. -> When you hit the url you get a CORS error and your responder is never called. or are you getting a CORS error and hitting the same root server?
... View more
02-07-2017
12:46 PM
|
0
|
1
|
1650
|
|
POST
|
We had the same issue with a line. we solved it by making a multipart polyline - the two lines terminated on the dateline. It would not be easy but you might be able to split your polygon into a multi-part polygon that used the edge of the date line as your boundary for each.
... View more
02-07-2017
12:36 PM
|
0
|
4
|
6984
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2025 09:54 AM | |
| 1 | 05-12-2014 01:47 PM | |
| 1 | 06-22-2017 08:13 AM | |
| 1 | 02-12-2018 09:03 AM | |
| 1 | 01-28-2016 03:55 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-25-2025
06:49 AM
|