|
POST
|
If it is a cached service, I would think republishing/overwriting it is required, but only for the updated footprint areas. Otherwise if the service is based on overviews from the mosaic it should update without republishing.
... View more
02-28-2017
01:32 AM
|
2
|
1
|
3426
|
|
POST
|
Can't see why not. You'll have to load the features first, then iterate through all of them to read the "color" attribute and set the feature's symbology.
... View more
02-27-2017
02:40 AM
|
1
|
1
|
811
|
|
POST
|
And some more info: Features vs. feature services in ArcGIS Online | ArcGIS Blog
... View more
02-26-2017
10:37 PM
|
1
|
0
|
11439
|
|
POST
|
https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses?<PARAMETERS> See geocodeAddresses—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers
... View more
02-26-2017
10:24 PM
|
2
|
0
|
8492
|
|
POST
|
You can create footprints for the areas with new imagery and regenerate the cache for only those areas. See Map cache updates—Documentation | ArcGIS Enterprise
... View more
02-26-2017
10:14 PM
|
1
|
2
|
3426
|
|
POST
|
The second parameter of the arcpy.CreateFeatureclass_management function should be a string and not a Feature Class
... View more
02-26-2017
10:11 PM
|
3
|
1
|
1264
|
|
POST
|
What API version are you working with? In 3.19 you can easily get the visible layers through the map objects different layer properties e.g. map.layerIds or map.graphicsLayerIds Then you can check if the layer is visible, get the URL for the layer and get the layer properties as JSON through a standard request (https://[server]/arcgis/rest/services/[service]/MapServer/[layerID]/?f=pjson)
... View more
02-23-2017
03:39 AM
|
0
|
0
|
2131
|
|
POST
|
Roshni, I think your original question has been answered and solved. You'll have to figure out a way to pass the variable data between functions.
... View more
02-23-2017
12:49 AM
|
1
|
1
|
3020
|
|
POST
|
No problem - make resp a global variable which you assign the value to in the showResults function.
... View more
02-22-2017
10:18 PM
|
0
|
4
|
3020
|
|
POST
|
It sounds like you could actually generate all the maps beforehand with Data Driven Pages and the just let the user download the one for the selected country.
... View more
02-22-2017
10:15 PM
|
0
|
2
|
1707
|
|
POST
|
Do it like in Robert's example where the result is returned in the showResults function then instead of var myResp = myTestFunction('myuname','mypass'); console.log(myResp); just do myTestFunction('myuname','mypass'); and change the request "then" function to .then(function(response){ showResults(response); }
... View more
02-22-2017
10:10 PM
|
1
|
6
|
3020
|
|
POST
|
In the "then" part of the esri.request console.log(resp); should be console.log(response.data); or your resp = response.data must be defined before the console.log(resp); output. The return resp; might also return nothing, because the request has not completed yet.
... View more
02-22-2017
09:59 PM
|
1
|
8
|
3020
|
|
POST
|
I prefer the idea of doing secure service authentication through a proxy as in your example Robert. roshni.mridha does the url for the request return a result correctly?
... View more
02-22-2017
07:24 AM
|
1
|
1
|
5381
|
|
POST
|
You can place the proxy anywhere on your web server e.g. in the root under a folder called "proxy". Then in your Javascript you specify which services and URLs must route through the proxy page: esriConfig.defaults.io.proxyUrl = '/proxy/proxy.ashx';
esriConfig.defaults.io.alwaysUseProxy = false;
urlUtils.addProxyRule({
urlPrefix: 'https://example.com',
proxyUrl: '/proxy/proxy.ashx'
}); And in the proxy config you must specify the access credentials
... View more
02-22-2017
02:47 AM
|
1
|
0
|
1088
|
|
POST
|
Is it possible to provide some code to show what you are trying to do and where the problem is?
... View more
02-22-2017
01:15 AM
|
0
|
16
|
5381
|
| 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
|