|
POST
|
Yes it will return layer object... FeatureLayer has name property so to get the name you do response.results[i].layer.name Take a look at the FeatureLayer properties from here: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#properties-summary
... View more
06-22-2023
09:26 AM
|
1
|
1
|
2928
|
|
POST
|
response.results[i].layer - will return the layer the feature belongs to and you can get the layer title from there. Hittest returns ViewHit results: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#ViewHit If you are working with features from a layer then your view hit result is graphic hit and graphic hit returns the layer to which the feature belongs to: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#GraphicHit
... View more
06-22-2023
09:05 AM
|
0
|
1
|
2940
|
|
POST
|
The COG file must have pyramids built to be displayed. This is not specific to cog. If you create an enterprise tiled image service without pyramid, you will get same behavior. In any case, you can build pyramids with build pyramids geoprocessing tool: https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/build-pyramids.htm
... View more
06-22-2023
09:00 AM
|
0
|
0
|
3220
|
|
POST
|
Hi there, How are you setting the padding? Please set the view.padding wholly: view.padding = { bottom: 400 }, not view.padding.bottom = 400. Doing so works as expected. This codepen shows how to setting the padding wholly: https://codepen.io/U_B_U/pen/RwqGdmJ?editors=1000 We have an issue improve this down the road. Hope this helps,
... View more
06-22-2023
08:41 AM
|
0
|
1
|
1729
|
|
POST
|
You need optimize your tiff to be Cloud optimized tiff. Please take a look at the COG requirements here: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryTileLayer.html#adding-cog Also you can watch this short video on COG: https://www.youtube.com/watch?v=SeWMENUJS7s - there are instructions how to convert your tif to COG towards the end of the video.
... View more
06-13-2023
08:38 AM
|
0
|
0
|
3240
|
|
POST
|
You can set up your tif file as cloud optimized GeoTiff and add it using ImageryTileLayer. This sample shows how to do that. Be sure to read the sample description too: https://developers.arcgis.com/javascript/latest/sample-code/layers-imagerytilelayer-cog/
... View more
06-12-2023
08:07 AM
|
0
|
1
|
3258
|
|
POST
|
Hi there, You will likely to get more responses if you post your question on calcite community: https://community.esri.com/t5/calcite-design-system/ct-p/calcite-design-system Calcite developer page lets you interact with the different aspects of the component on their page. Then you can get the updated the code from the page and use it in your app. For action bar you can use this page: https://developers.arcgis.com/calcite-design-system/components/action-bar/ You can change the word under translations. For example for the collapse you can change the following way: <script>
document.querySelector("calcite-action-bar").messageOverrides = {
collapse: "Override message"
};
</script> This works with the latest version. I see that the codepen you provided is using beta version of the calcite. You may want to update your version so that the approach above works. If not you can ask the follow up question on the calcite community.
... View more
06-08-2023
09:59 AM
|
0
|
0
|
1131
|
|
POST
|
This sample shows different ways of using reactiveUtils: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=watch-for-changes-reactiveutils If you want to watch a change only once then you can use reactiveUtils.whenOnce, please take a look at the doc and code snippets: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#whenOnce
... View more
06-02-2023
08:08 AM
|
0
|
0
|
2821
|
|
POST
|
Please take a look at this document on calcite component theming and colors: https://developers.arcgis.com/calcite-design-system/foundations/colors/ This SDK sample shows some of the techniques shown in the document: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=featurelayer-query
... View more
05-30-2023
08:02 AM
|
0
|
1
|
7835
|
|
POST
|
Hi there, As you figured out already, the refresh does not support the workflow you are asking for. It is something we plan on supporting in the future. Is your app using MapView? Then as you suggested you can use applyEdits for more focused refreshes. Can you please see if the workaround works? If the layer emits an edit event with the updated, added, or removed features, that triggers the refresh of that feature. https://codepen.io/ycabon/pen/BaqENbb?editors=0010
... View more
05-26-2023
09:39 AM
|
1
|
1
|
1504
|
|
POST
|
Seems like you have an issue in the WKT text. The WKT is supported when projecting. For instance, there is two pp here: PPROJCS I removed this and was not able to project it. So I have used this WKT: https://spatialreference.org/ref/epsg/nad83-utm-zone-11n/esriwkt/ and projection happens as expected. This codepen shows a proof of concept in 4.26. https://codepen.io/U_B_U/pen/RwevmgB?editors=1000
... View more
05-24-2023
09:13 AM
|
0
|
0
|
986
|
|
POST
|
Hi there, I am not able to reproduce the issue you are seeing. Which browser are you using?
... View more
05-24-2023
08:02 AM
|
0
|
1
|
6435
|
|
POST
|
HI there, I just want to let you know that we improved the behavior of BaseTileLayer to release the tiles that are no longer displayed at 4.27. You can test this behavior on our next version. This codepen shows the new behavior: https://codepen.io/U_B_U/pen/vYVGKwp?editors=1000
... View more
05-22-2023
01:10 PM
|
1
|
1
|
6450
|
|
POST
|
Thanks - also seems like if you can get your results in 5 queries or fewer using query.maxRecordCountFactor could also help here. Yes you can. But that is not the main point of the sample. https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#orderByFields - just orders the results of your query based on a field specified. It will work with any query.
... View more
05-19-2023
09:24 AM
|
0
|
0
|
2811
|
|
POST
|
Hi there, Yes it is the responsibility of the develop to make subsequent queryFeatures call with pagination. Please take a look at this sample for this: https://developers.arcgis.com/javascript/latest/sample-code/featurelayer-query-pagination/
... View more
05-19-2023
09:05 AM
|
0
|
1
|
2827
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|