POST
|
Hi there, This was a breaking change introduced in version 4.33, as noted in the release notes here: https://developers.arcgis.com/javascript/latest/release-notes/#core-api-breaking-changes To summarize: Cloning a Graphic no longer populates the layer property of the cloned graphic. This is because the cloned graphic is not associated with any layer. If you need to clone a graphic and associate it with a specific layer, set the layer property manually after cloning. This affects any workflows that result in cloned graphics, such as search result graphics. To help address this, we’re introducing a new origin property on Graphic which will be cloned automatically. This can be used to indicate where the graphic originally came from, offering a more appropriate way to track its source. I will update you once this property is Let me know if you have any questions or need further clarification.
... View more
3 weeks ago
|
0
|
1
|
359
|
POST
|
Hi there, This issue is addressed at version 4.34. You can test the fix using our next version. Here is your codepen updated to point to the next version: https://codepen.io/U_B_U/pen/EaVePpv?editors=1000 Thanks
... View more
08-27-2025
04:20 PM
|
0
|
0
|
52
|
POST
|
Hi there, Thank you for sharing the codepen. However, I’m already very familiar with this behavior, so a basic example won’t help us investigate the issue you originally described. To properly assess and address the performance concerns, we need access to your actual webmap. Starting with version 4.19, the ArcGIS Maps SDK for JavaScript began supporting the fetching of all features from point feature services at initialization, provided certain conditions are met. As of version 4.33, this behavior has been extended to AGOL-hosted feature services with polygon, polyline, and multipoint geometries, again assuming the appropriate conditions are satisfied. This enhancement improves app responsiveness by loading all features at once and eliminating repeated server requests as users interact with the map. We need to examine your webmap directly to determine how your data aligns with these conditions. This will help us assess performance and potentially fine-tune the behavior further. Would you be able to share the webmap with us?
... View more
07-10-2025
08:01 AM
|
0
|
4
|
500
|
POST
|
Hi there, Is it possible for you to share your webmap url with me? You can direct message me if you dont want to share publicly.
... View more
07-09-2025
08:48 AM
|
1
|
0
|
536
|
POST
|
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#fetchImage - should work in this case. Have you looked at it? You can do something like const image = await layer.fetchImage(view.extent, view.width, view.height);
console.log(image.src);
... View more
07-08-2025
08:09 AM
|
2
|
1
|
195
|
POST
|
Hi there, I wasn't able to locate any public documentation for esri.TileUtils.getCandidateTileInfo(). That said, could you clarify how much detail you're looking for? Are you calculating the tiles without considering rotation and the tilemap, or do you need those factors included as well?
... View more
07-07-2025
03:57 PM
|
2
|
1
|
175
|
POST
|
Hi there, You need to load all sublayers from the MapImageLayer by calling loadAll() on the MapImageLayer instance as shown below: layer.loadAll().then(() => {
layer.sublayers.map((sublayer) => {
sublayer.popupTemplate = sublayer.createPopupTemplate();
});
}); This codepen shows how to setup popupTemplate for sublayers - https://codepen.io/U_B_U/pen/QwbrLXO?editors=100 Hope this helps, -Undral
... View more
06-11-2025
03:25 PM
|
1
|
1
|
561
|
POST
|
Hi there, This sample shows how to do hitTest on a map component - https://developers.arcgis.com/javascript/latest/sample-code/map-component-hittest/
... View more
05-14-2025
09:38 AM
|
0
|
1
|
326
|
POST
|
That should not happen. Repro case would be useful in this case. Which version of the API are you using?
... View more
05-08-2025
04:23 PM
|
0
|
1
|
568
|
POST
|
I am not able to reproduce the issue in this simple test app - https://codepen.io/U_B_U/pen/MYYqErz?editors=1000
... View more
05-08-2025
02:49 PM
|
0
|
1
|
595
|
POST
|
Can you please post the geometry (json representation) that is in question here?
... View more
05-08-2025
02:44 PM
|
0
|
0
|
595
|
POST
|
Hey there, It seems like you are overwriting highlight handle each time a new feature is highlighted. As a result, when you call remove on the handle, it only removes the highlight from the most recently highlighted feature. To fix this, you should store each highlight handle so they can all be removed later. You can do this by adding each handle to an array whenever a feature is highlighted, like this: highlight = layerView.highlight(result.features, {name: "temporary"});
hightlights.push(highlight); Then, when you want to remove all highlights, loop through the array and call remove() on each handle: hightlights.forEach((h) =>{
h.remove();
}); This codepen shows how this works: https://codepen.io/U_B_U/pen/OPPojdN?editors=1000 Hope this helps, -Undral
... View more
05-08-2025
02:09 PM
|
1
|
1
|
710
|
POST
|
Hi there, Would you mind sharing a simple reproducible example? It would help us understand the issue more clearly and troubleshoot it faster.
... View more
05-08-2025
01:49 PM
|
0
|
1
|
601
|
POST
|
Hi there, In addition to calling highlightSelectRoom.remove (), you also need to clear collection of highlightIds from the feature table. You can this in action in this sample - https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=highlight-features-by-geometry Essentially you need to add this line: table.highlightIds.removeAll(); Hope this helps, -Undral
... View more
05-07-2025
09:17 AM
|
1
|
2
|
755
|
POST
|
You’re seeing this behavior because all operational layers in your web map have timeAnimation set to false as seen here. As a result, setting the map component’s timeExtent has no effect on layers. Each time aware layer is effectively ignoring the time extent since their useViewTime property is also set to false. To enable time-based rendering, you need to explicitly set the useViewTime property to true for each layer after the map has finished loading. This ensures the layers respect the map component's timeExtent. Here is a simplified version of your app working: https://codepen.io/U_B_U/pen/oggyWyW?editors=0010
... View more
05-06-2025
03:11 PM
|
1
|
1
|
293
|
Title | Kudos | Posted |
---|---|---|
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 | |
1 | 05-08-2025 02:09 PM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|