POST
|
You can enable the popup on WMSLayer by setting popupEnabled: true, and queryable: true on the WMSSublayer. Here's an example: https://codepen.io/annefitz/pen/gOjWNKb?editors=100
... View more
01-12-2023
08:45 AM
|
0
|
0
|
1552
|
POST
|
Thank You guys @JoelBennett @LefterisKoumis , both code works fine, simply checking layer type 😉 Thanks again for help.
... View more
12-24-2022
11:53 AM
|
0
|
0
|
553
|
POST
|
If I was looking for a list of SDE connection in the workspace I would do it this way import arcpy, os ROOT_DIR = os.path.dirname(arcpy.env.workspace) for file in os.listdir(ROOT_DIR): if file.endswith(".SDE"): print(file)
... View more
11-07-2022
09:32 PM
|
0
|
0
|
1398
|
POST
|
Is this resolved by JCarlson's response? I think the EXTRACT function will give you what you what. If I query an Esri site for a Date and a Month range I get data results, as in this example: https://services3.arcgis.com/GVgbJbqm8hXASVYi/arcgis/rest/services/LA_County_Parcels/FeatureServer/0/query?where=SpatialChangeDate+%3E+%271%2F1%2F2020%27+AND+EXTRACT%28MONTH+FROM+SpatialChangeDate%29+IN+%282%2C3%29&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&resultType=none&distance=0.0&units=esriSRUnit_Meter&relationParam=&returnGeodetic=false&outFields=SpatialChangeDate&returnGeometry=false&returnCentroid=false&featureEncoding=esriDefault&multipatchOption=xyFootprint&maxAllowableOffset=&geometryPrecision=&outSR=&defaultSR=&datumTransformation=&applyVCSProjection=false&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnExtentOnly=false&returnQueryGeometry=false&returnDistinctValues=false&cacheHint=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&having=&resultOffset=&resultRecordCount=&returnZ=false&returnM=false&returnExceededLimitFeatures=true&quantizationParameters=&sqlFormat=none&f=html&token= Which uses the SQL: SpatialChangeDate > '1/1/2020' AND EXTRACT(MONTH FROM SpatialChangeDate) IN (2,3)
... View more
10-03-2022
08:48 AM
|
0
|
0
|
645
|
POST
|
trying to reach http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=json. The web server side to be configured is the arcgisonline side right?
... View more
09-23-2022
04:12 PM
|
0
|
0
|
534
|
POST
|
can the background colour be set based on the value in a column. if (column value = x) then background colour = yellow etc.
... View more
09-14-2022
08:30 AM
|
0
|
0
|
527
|
POST
|
Great news, feel free to mark the post as solved, even if you provided your own solution.
... View more
08-24-2022
07:46 AM
|
0
|
0
|
394
|
POST
|
Hi @Vakhtang_Zubiashvili, I tested this and it works fine in Chrome for me using this sample: https://developers.arcgis.com/javascript/latest/sample-code/widgets-coordinateconversion/ I am using Version 104.0.5112.101 (Official Build) (arm64). Which version and OS are you using?
... View more
08-24-2022
07:46 AM
|
0
|
0
|
204
|
POST
|
Hi Noah, Thank you. But here we have some problems: 1. We do not have Georgian in the languages list; 2. I have Custom HTML on my map and how these elements will be translated using LOCALIZATION? Thanks
... View more
07-12-2022
11:36 PM
|
0
|
0
|
412
|
POST
|
Hi @Vakhtang_Zubiashvili , I would highly recommend that you reach out to ESRI support on this one. Especially since it is dealing with CORS and Proxies, which can both come with some security considerations. Best of luck!
... View more
05-31-2022
06:03 AM
|
0
|
0
|
3382
|
POST
|
Ah, you can't fix this via your server then. The origin server has deliberately disabled CORS or only has certain allows. You can try to write a proxy server for this. The crossorigin.me dev site publishes their source code and you can try to use that as a base for your own. https://github.com/corihudson/crossorigin.me
... View more
05-11-2022
07:11 AM
|
0
|
0
|
3410
|
POST
|
Hi, I have CORS issue too in my map. I have added proxy, but it did not help. I have little different issue, my error is multiple headers. It would be good if anyone make detailed explanation how CORS could be handled.
... View more
05-10-2022
05:16 AM
|
0
|
0
|
1987
|
POST
|
Do you have a snippet or something to show how you are using hitTest and doing this filter? If there are no results, accessing it via array[0] will be undefined on an empty array. You can use response.results.find() and check for null instead. But you should be doing some kind of null checking in this scenario.
... View more
03-30-2022
07:33 AM
|
0
|
0
|
397
|
Title | Kudos | Posted |
---|---|---|
1 | 08-22-2022 11:57 PM | |
1 | 08-31-2022 12:41 AM | |
1 | 08-23-2022 02:49 AM | |
1 | 05-10-2022 05:12 AM | |
1 | 01-13-2022 10:03 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|