POST
|
Thank you @YannCabon for your response. However, when I use ESM, I get this warning "Only use ES modules from ArcGIS CDN for testing: https://arcg.is/0W5P5f#core-api" Ignore?
... View more
07-12-2025
09:34 PM
|
0
|
0
|
164
|
POST
|
I have a straightforward question for the Esri team: Are there any plans to phase out AMD modules in favor of exclusively using ES modules in the Esri environment? If so, is there an estimated timeline for this transition?
... View more
06-27-2025
11:29 AM
|
1
|
3
|
520
|
POST
|
Thank you @MattDriscoll . It works. I just updated the references to the new newer version of ArcGIS JS API from 4.32 to 4.33 and it cannot display the map anymore with the error " #spatialReference" "no spatial reference could be derived from the currently added map layers" All I did was to change the JS version. Why the error? As you can see I still use AMD to declare my feature layer. Will AMD go away in the near future and use only ES modules? https://codepen.io/lkoumis1/pen/yyywrvG?editors=1010 Thank you.
... View more
06-26-2025
04:30 PM
|
0
|
0
|
146
|
POST
|
I'm using calcite-shell with the content-behind property to enable display-mode: float, which allows the end panel to have an adjustable height. However, with the introduction of components in ArcGIS API for JavaScript 4.32, I noticed that enabling content-behind causes the <arcgis-zoom> component to disappear, and the <arcgis-search> component aligns directly against the action bar without spacing. Below is a demo illustrating the visual difference in the <arcgis-search> and <arcgis-zoom> components when content-behind is enabled versus disabled. https://codepen.io/lkoumis1/pen/yyywrvG?editors=1010 @KittyHurley
... View more
06-24-2025
02:45 PM
|
0
|
3
|
225
|
POST
|
There is a probably a simple solution to this. I just want to disable the popup on the feature layer defined by a url when you use arcgis-map component. I already used the popup-enabled="false" but didn't work. I assume that the popup-enabled is working only for arcgis-map with item-id. I can click on a feature and view it on the arcgis-features, but I want to remove the popups display on the map https://codepen.io/lkoumis1/pen/dPogWVR?editors=1111
... View more
06-19-2025
10:13 PM
|
0
|
1
|
325
|
POST
|
Sorry, it must be the stupidest posting I ever did. Apparently, didn't clear the cache. Thank you for the reply.
... View more
06-16-2025
08:49 PM
|
1
|
0
|
303
|
POST
|
<arcgis-map basemap="streets-navigation-vector" id="my-map" center="-120.45, 37.183" zoom="6">
<arcgis-search position="top-left"></arcgis-search>
<arcgis-zoom></arcgis-zoom>
</arcgis-map> I don't understand why the zoom is not working. Do I need to use item-id? I don't use a webmap.
... View more
06-16-2025
11:15 AM
|
0
|
3
|
361
|
POST
|
I'm using ArcGIS JS API 4.32 and currently converting the app's widgets into components. The app includes a calcite-action-bar on the left side, and I've been successfully integrating components like the LayerList, Legend, and others. Most conversions have been straightforward, except for the Home component. Integrating the Home component into the action bar has been challenging, as it interacts directly with the map view, making it less adaptable to the component-based structure. This is the current setup. <calcite-shell-panel id="primary-shell-panel" slot="panel-start">
<calcite-action-bar slot="action-bar" expand-disabled id="action-bar-left">
<calcite-action-group>
<calcite-action data-action-id="home" id="home" text="Home" icon="home"></calcite-action>
<calcite-action data-action-id="previous" id="previous" text="Previous Extent" icon="arrow-left">
</calcite-action>
<calcite-action data-action-id="next" id="next" text="Next Extent" icon="arrow-right">
</calcite-action>
</calcite-action-group>
<calcite-action-group> How can I use the home component in the action bar? <arcgis-map item-id="45b3b2fb35e94ab09381d0caa0da5946">
<arcgis-home position="top-left"></arcgis-home>
</arcgis-map> @AnneFitz @JoelBennett
... View more
06-11-2025
01:59 PM
|
0
|
2
|
364
|
POST
|
I couldn’t find a clear answer to this question on the ESRI site, so I’m hoping someone from ESRI can respond here. Does the use of any of the geometry operators consume credits or result in any charges to our organization? If not, why is a token required to run examples like the one in this tutorial on our own server? https://developers.arcgis.com/javascript/latest/tutorials/find-spatial-relationships/
... View more
04-30-2025
10:29 AM
|
0
|
2
|
355
|
POST
|
I figured it out. The easier way to programmatically close the popup and clear the selection/highlight from the map is to close the featuresWidget and emit a click event on the map. Simple. featuresWidget.close();
await new Promise(resolve => setTimeout(resolve, 50));
// Simulate click at center
view.emit("click", {
mapPoint: view.center,
x: view.width / 2,
y: view.height / 2,
stopPropagation: () => {}
});
... View more
04-28-2025
08:01 PM
|
0
|
0
|
583
|
POST
|
You misunderstood me. I want to simulate clicking the close button of the features widget when any of the widget located at the action bar is clicked. Nothing is broken. And no, we don't use div for every widget. Each widget in the action bar (Legend, basemaps, layer list...) uses its own panel in the features widget. There are so many examples of it in the Calcite site. I want remove the selection of the feature as I mentioned in the previous posting prior selecting another widget from the action bar.
... View more
04-28-2025
04:50 PM
|
0
|
0
|
592
|
POST
|
Thanks, I’ve already tried that. Here’s the issue: I have a feature layer, and when a user clicks on a feature, the popup appears inside the Features widget on the left panel. If the user then clicks a tool on the left action bar—like the Basemap widget—it opens within the same Features widget panel. After that, if the user clicks on another feature, no popup appears, and the Features widget stays blank. However, I can still see the previous feature is still highlighted on the map. What I’m trying to do is this: when a user clicks any widget in the action bar, I want to programmatically close the popup and clear the selection/highlight from the map before the new widget (e.g., Basemap) loads in the Features widget. That way, when a new feature is clicked, its popup loads normally. I noticed that if I manually click the close button on the Features widget before selecting another widget from the action bar, everything works as expected. So, I want to simulate a click on that close button programmatically. I already tried: view.popup.close();
view.popup.selectedFeature = null; featuresWidget.close()
... View more
04-25-2025
10:14 AM
|
0
|
2
|
655
|
POST
|
Thanks, but that approach won't work. You're suggesting the use of: document.getElementById(<button id>).click() However, the button ID is dynamically generated at runtime. For example, it looks like: calcite-action-aa0a2d95-2dee-4f9d-4007-45da792b6f6e-button This ID changes every time the FeatureWidget is initialized, making it unreliable to reference directly by ID.
... View more
04-25-2025
10:02 AM
|
0
|
1
|
657
|
POST
|
Would like to simulate clicking the close button of the features widget. I tried this but it is not working. I suspect it is because of the shadow root. const closeBtn = document.querySelector(".esri-features__close-button");
if (closeBtn) { closeBtn.click(); } Ideas? Thanks.
... View more
04-18-2025
01:57 PM
|
0
|
8
|
780
|
POST
|
Does this widget complies with the Google terms or service for their products? Google TOS prohibits the use of their products on non Google based apps.
... View more
02-13-2025
10:18 AM
|
0
|
1
|
590
|
Title | Kudos | Posted |
---|---|---|
1 | 06-27-2025 11:29 AM | |
1 | 06-16-2025 08:49 PM | |
1 | 06-02-2023 03:22 PM | |
1 | 02-28-2024 09:35 AM | |
2 | 12-19-2023 06:48 PM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|