|
POST
|
It is returned as a Unix time string. You can convert it directly to a time string: var d = new Date(1464870816000);
console.log( d.toDateString() );
// edit: add formatting
console.log( d.format("dd/mm/yyyy hh:MM:ss") );
... View more
06-14-2016
01:48 AM
|
2
|
2
|
1296
|
|
POST
|
How are you setting the style of the graphic? See SimpleFillSymbol | API Reference | ArcGIS API for JavaScript So for example, this works: var graphic = map.graphics.graphics[0]; // first graphic of map graphics list (assuming it is a polygon)
graphic.symbol.setStyle(esri.symbol.SimpleFillSymbol.STYLE_HORIZONTAL);
map.graphics.redraw();
... View more
06-14-2016
01:42 AM
|
0
|
3
|
1668
|
|
POST
|
In the sample the FeatureLayer source is of geometry type polygon, so if you change the sample code to use a point geometry layer as source, then it should do exactly what you require. You just need to supply a point feature source.
... View more
06-13-2016
10:51 PM
|
1
|
0
|
560
|
|
POST
|
Must the button be an ASP button? Try a normal button: <button onclick="zoomIn();" style="">Zoom</button>
... View more
06-13-2016
06:31 AM
|
0
|
2
|
2040
|
|
POST
|
Where or to whom can the elevation model errors in the JS API 4.0 be reported? Here is an example of the Faroe Islands just north of Torshavn.
... View more
06-13-2016
05:27 AM
|
0
|
0
|
1831
|
|
POST
|
Maybe you should stick with option 1 with the mixture of different GSD imagery, but just calculate the cell size ranges for the mosaic: Cell size ranges in a mosaic dataset—Help | ArcGIS for Desktop
... View more
06-13-2016
04:12 AM
|
1
|
0
|
2778
|
|
POST
|
You can probably retrieve it by getting the layer information in JSON with a request (esri/request | API Reference | ArcGIS API for JavaScript ) var layersRequest = esri.request({
url: "http://<server>/arcgis/rest/services/<service>/MapServer/<layer index>",
content: { f: "json" },
handleAs: "json",
callbackParamName: "callback"
});
layersRequest.then(
function(response) {
console.log("Success: ", response.drawingInfo);
},
function(error) {
console.log("Error: ", error.message);
}); This will give you the same result as http://<server>/arcgis/rest/services/<service>/MapServer/<layer index>?f=pjson
... View more
06-13-2016
03:20 AM
|
2
|
1
|
1806
|
|
POST
|
The form is a problem, but you can set the onsubmit property to prevent reloading the page. <form runat="server" onsubmit="return false">
... View more
06-13-2016
12:08 AM
|
0
|
1
|
2040
|
|
POST
|
Use the Tabulate Intersection tool: Tabulate Intersection—Help | ArcGIS for Desktop. This is only available for the Advanced licence though, otherwise you could union the two layers, calculate the areas of the intersected wetlands polygons and summarize the total area based on the parcel ID.
... View more
06-10-2016
06:49 AM
|
1
|
1
|
1007
|
|
POST
|
Then click Yes! Did you get any warning messages or notifications that your data is not registered with the server?
... View more
06-10-2016
05:31 AM
|
1
|
1
|
2470
|
|
POST
|
If your new service has the same name as the old stopped one, it will overwrite it. It needs the specific folder with the same name in your services directory. The stopped one is still in your server directory, therefore the message. If you want to rename the old one, go to your REST endpoint admin folder (http://<server>/arcgis/admin), services and at the bottom you'll get an option for renameService.
... View more
06-10-2016
05:02 AM
|
0
|
3
|
2470
|
|
POST
|
You might need to specify an External Capabilities file for a specific version: Using external capabilities files with WCS services—Documentation (10.3 and 10.3.1) | ArcGIS for Server
... View more
06-10-2016
04:40 AM
|
0
|
0
|
1285
|
|
POST
|
The API example shows the same behaviour. Go to Michigan state in the USA and see for yourself. Your Map Service seems to contain enough information per feature part, even a "homepart" field (which I assume you've tried to use in the where clause for the labelling expression) that might help to define the labelling parts.
... View more
06-10-2016
04:32 AM
|
1
|
0
|
2723
|
|
POST
|
The pic_url field in the CSV file must contain the location of the picture. This location path or URL must be accessible to the storymap. You should be able to use any public URL, which can be any location from your own Web server to a Google Drive image link or a file on your AGO content.
... View more
06-09-2016
11:51 PM
|
1
|
7
|
3238
|
|
POST
|
Glad to see you've added it to the Ideas list https://community.esri.com/ideas/10815
... View more
06-09-2016
04:51 AM
|
0
|
0
|
1672
|
| 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 |
Tuesday
|