|
POST
|
Hi Jamal Sorry I misunderstood your question. I don't think the "search" capability exists within the REST API. You could however use an iterative Python or Javascript process to run through the folders and services to list the layers, which outputs something similar to the Service Report functionality: Service Report
... View more
08-21-2016
11:18 PM
|
2
|
0
|
1194
|
|
POST
|
Seems like the problem is only with the reprojection. Instead of using Proj4, why don't you try the Geometry Service projection utility? GeometryService | API Reference | ArcGIS API for JavaScript 3.17 You can also get the UTM projection WKID and WKT here: ArcGIS REST API
... View more
08-18-2016
06:37 AM
|
2
|
0
|
2174
|
|
POST
|
Similar issues have been mentioned in theses Geonet posts: Scrolling down a page with a map Mouse misaligned in ArcGIS API for JS The popup anchor is definitely not repositioning on the screen resize event, but does when you pan the map again like you mentioned. I think it is "buggy" and should be fixed for the 4.1 release.
... View more
08-18-2016
05:52 AM
|
1
|
1
|
2002
|
|
POST
|
I also spotted that, but when constructing the symbol object with Prasanna's version, it actually creates the style as "solid".
... View more
08-18-2016
05:45 AM
|
1
|
0
|
2174
|
|
POST
|
So the query task definitely returns features and they are only displayed with the default symbology? I checked both your symbol definitions and they seem to be correct. Can you try/test setting the symbol after the graphics have been loaded with something like map.graphics.graphics[1].setSymbol(queryPoint_symbol) ?
... View more
08-18-2016
04:16 AM
|
0
|
2
|
2174
|
|
POST
|
It will always convert to GCS WGS84. Just make sure your geographic transformation is specified in the environment settings of the tool so that you don't need to do the reprojection beforehand.
... View more
08-18-2016
02:06 AM
|
2
|
4
|
4137
|
|
POST
|
Migrating ArcGIS Server 10.0 to later versions—Documentation | ArcGIS for Server
... View more
08-17-2016
03:54 AM
|
1
|
0
|
2751
|
|
POST
|
You'll have to uninstall 10.0 first, so then you might as well go straight to 10.4.1
... View more
08-17-2016
03:42 AM
|
0
|
2
|
2751
|
|
POST
|
No. Here's why > Existing ArcGIS Server users—Installation Guides (10.4.1) | ArcGIS for Server
... View more
08-17-2016
02:54 AM
|
1
|
4
|
2751
|
|
POST
|
You can in API 3.17 with the Draw toolbar - Draw | API Reference | ArcGIS API for JavaScript 3.17 Then use the geometryEngine (esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript 3.17 ) to calculate the area and perimeter with your selection of units (Possible Values: acres | ares | hectares | square-feet | square-meters | square-yards | square-kilometers | square-miles)
... View more
08-17-2016
01:35 AM
|
0
|
0
|
910
|
|
POST
|
The Functionality Matrix (Functionality matrix | ArcGIS API for JavaScript 4.0 ) indicates that the editing dijit is "coming soon" and the SnappingManager is "under consideration".
... View more
08-16-2016
11:07 PM
|
1
|
0
|
1127
|
|
POST
|
In the sandbox example, change the kml variable scope to a global variable (just remove the var declaration). Then in the Chrome console, change the console output to log the sandbox's. Then you can run kml.getLayers() to view the kml layers.
... View more
08-16-2016
10:54 PM
|
0
|
1
|
2439
|
|
POST
|
Have you tried your KML source in the sandbox example? That kml returns an array with a single layer object.
... View more
08-16-2016
06:26 AM
|
0
|
3
|
2439
|
|
POST
|
The featureLayer property of the source object requires a FeatureLayer object. Search | API Reference | ArcGIS API for JavaScript 3.17 < FeatureLayer > featureLayer Required This applies only to map service feature layer sources. The feature layer is queried in the search. If searching feature layers, this is required.
... View more
08-16-2016
05:58 AM
|
2
|
1
|
3148
|
|
POST
|
It seems possible for a vector KML. The API reference page for KML layers (KMLLayer | API Reference | ArcGIS API for JavaScript 3.17 ) shows how to do it (near the top). From the API reference page: The following code snippet shows how to get a KML layer's layers, checks that a layer has graphics, unions the layer extents and then zooms to the new extent: var kmlExtent, layers = kml.getLayers();
dojo.forEach(layers, function(lyr) {
if ( lyr.graphics && lyr.graphics.length > 0 ) {
var lyrExtent = esri.geometry.geographicToWebMercator(
esri.graphicsExtent(lyr.graphics)
);
if ( globals.kmlExtent ) {
kmlExtent = kmlExtent.union(lyrExtent);
} else {
kmlExtent = lyrExtent;
}
});
map.setExtent(kmlExtent); Is your KML layer a ground overlay?
... View more
08-16-2016
05:45 AM
|
1
|
5
|
2439
|
| 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 |
06-02-2026
12:31 AM
|