POST
|
Hi @DHuantes, I have been working with your code from your post to see what I could find about the 'Invalid SQL' error. After further testing of this behavior I have found that as of version 2.7 of the ArcGIS Pro SDK for .NET parentheses can be used in nested SQL statements without issue.
... View more
12-31-2020
08:59 AM
|
0
|
1
|
1230
|
POST
|
Hi, A way you can find an individual layer within a WebMap is to use the allLayers property. The allLayers property is actually a Collection of all the layers in the WebMap which means all basemap layers, operational layers, ground layers as well as group layers and their children layers are included. Since the alLayers property is a Collection you can use the find method to find and return a layer by name. Below is the documentation on that property along with a sample on how to use it to find a layer by name: WebMap | ArcGIS API for JavaScript 4.15 (This link takes you directly to the allLayers property.) Sincerely, Chris
... View more
06-08-2020
07:54 AM
|
1
|
3
|
3957
|
POST
|
Hi Yiyuan, There does not appear to be any direct way to create a Graphic from a GeoJSON string. The Graphic class in the ArcGIS API for JavaScript does have a fromJSON() method but, the JSON format that it is expecting is not quite the same as GeoJSON. The fromJSON() method is expecting the coordinates to look like the format below: geometry: { x: -49.97, y: 41.73 } You can suggest the ability to create Graphics from GeoJSON strings on the Esri Ideas page. I searched to see if this feature had already been suggested but it appears it has not. Check out the links under Getting Started at the right of the Ideas page to learn how to submit an idea. Sincerely, Chris
... View more
04-01-2020
11:08 AM
|
0
|
0
|
1783
|
POST
|
Hi Jay, To answer your question about the smallest resource you can use to check the status of the ArcGIS JavaScript API you might be able to check if your app can access https://js.arcgis.com/4.13/dojo/dojo.js. There is a non-programmatic way to check the status of Esri's services at the ArcGIS Online Health Dashboard. The status of the JavaScript API CDN would fall under the 'ArcGIS.com Web Site' service status. Sincerely, Chris
... View more
10-16-2019
03:49 PM
|
0
|
0
|
527
|
POST
|
Hi Gonzalo, This can be done. Each map will need to have its own GraphicsOverlay object and its own renderer object. You can however use the same maker symbol for both renderers. Sincerely, Chris
... View more
03-07-2019
04:33 PM
|
1
|
0
|
1195
|
POST
|
Hi Erica, I don't know if you have already tried this but if you are using Visual Studio you can try rebuilding the solution as a possible remedy. To do this have your project open in Visual Studio and go to the Build menu in the toolbar and select Rebuild Solution. This has solved a Local Server issue for me in the past so I'm thinking it might be worth a try. Thank you, Christopher Koenig
... View more
03-05-2019
04:31 PM
|
1
|
1
|
1951
|
Title | Kudos | Posted |
---|---|---|
1 | 06-08-2020 07:54 AM | |
1 | 03-05-2019 04:31 PM | |
1 | 03-07-2019 04:33 PM |
Online Status |
Offline
|
Date Last Visited |
05-12-2023
05:29 PM
|