|
POST
|
The components emit CustomEvents that wrap the native view mouse events, like CustomEvent<ViewDragEvent>. Try to `event.detail.stopPropagation()`.
... View more
08-29-2024
09:17 AM
|
0
|
0
|
1085
|
|
POST
|
Replace the entire symbol to get it to update in real-time. const symbol = graphic.symbol.clone();
symbol.color = event.srcElement.value;
graphic.symbol = symbol;
... View more
08-22-2024
09:35 AM
|
1
|
0
|
1477
|
|
POST
|
You can listen the layers "edit" event and call the featureTable refresh method. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#events-summary https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html#refresh Demo: https://codepen.io/odoe/pen/mdOJeYm?editors=0010
... View more
08-20-2024
08:30 AM
|
0
|
1
|
1593
|
|
POST
|
Tough to tell from snippet, if you have a git repo or stackblitz, might be able to tell. You probably don't want to assign the BasemapGallery container directly, do it in a useEffect with a useRef with some guards against nulls and stuff. Does this happen in dev mode and prod? HMR can do this sometimes.
... View more
08-19-2024
01:00 PM
|
0
|
1
|
1485
|
|
POST
|
This depends on your version of Enterprise. queryDataElements is in 10.6+ https://developers.arcgis.com/rest/services-reference/enterprise/query-data-elements-feature-service/
... View more
08-19-2024
07:24 AM
|
0
|
1
|
836
|
|
POST
|
Ok, that's a little different. That's not a popup selection, that is the sketch selection because you are interacting with the sketch graphics layer. You can call cancel() on sketch to clear it when you close the popup. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#cancel
... View more
08-14-2024
01:19 PM
|
0
|
1
|
1558
|
|
POST
|
Looking at this sample here, if you call view.closePopup() the highlight is cleared. https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=popup-editaction
... View more
08-13-2024
03:38 PM
|
0
|
3
|
1598
|
|
POST
|
All the TS Typings are defined by the public documentation. debounce for example depends on the function being debounced, it just takes a generic function https://developers.arcgis.com/javascript/latest/api-reference/esri-core-promiseUtils.html#debounce
... View more
08-12-2024
09:32 AM
|
0
|
1
|
967
|
|
POST
|
Not specific to it, but you could do something like that manually. Views have a toScreen() method that converts map coordinates to screen coordinates. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#toScreen And a toMap to turn screen coords to map coords. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#methods-summary You can then use reactiveUtils to watch some view property like interacting, maybe navigating to know when the map is being panned/zoomed and update the elements location. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#interacting
... View more
08-07-2024
08:16 AM
|
1
|
1
|
1042
|
|
POST
|
You can, but you need to convert it to a client-side FeatureLayer. https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/ Here is that above sample with the FeatureTable https://codepen.io/odoe/pen/mdOJeYm?editors=0010
... View more
08-05-2024
01:13 PM
|
0
|
1
|
896
|
|
POST
|
Absolutely, yes you can! Here is a video from DevSummit https://mediaspace.esri.com/playlist/dedicated/325483122/1_zbjbuth8/1_bygljauy Here is a codepen changing the webmap manually: https://codepen.io/odoe/pen/ExzyNPd?editors=0010 React/Next app: https://github.com/odoe/arcgis-map-comps-nextjs/blob/main/app/map/%5Bslug%5D/page.tsx
... View more
07-31-2024
08:35 AM
|
0
|
0
|
747
|
|
POST
|
I think you have a typo. It's findLayerById. You need to either wait for view.when() or call the webmap.loadAll(), both are promises so you can await them or use promise.then().
... View more
07-29-2024
07:15 PM
|
3
|
1
|
1409
|
|
POST
|
Thanks, we'll be taking a look at this for the next release. Oversight.
... View more
07-26-2024
07:11 AM
|
1
|
0
|
857
|
|
POST
|
Deprecated means they will be going away, typically a few releases after announced. to give users time to transition. If you go to the property links, they are marked deprecated. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#multipleSelectionEnabled https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList.html#selectionEnabled Space issue, not enough room in the property list for details.
... View more
07-23-2024
10:08 AM
|
1
|
0
|
572
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 2 | 2 weeks ago | |
| 1 | 02-27-2026 06:31 AM | |
| 1 | 01-13-2026 02:15 PM | |
| 1 | 12-31-2025 09:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
an hour ago
|