|
POST
|
I did use `await scaleBar.componentOnReady()` but is not working. Thank you for clarifying the reason behind the mismatch between the scale shown by the scale bar and the map view. It appears that I’ll need to find a way to access the value displayed on the scale bar, since that’s what users actually see.
... View more
10-22-2025
03:33 PM
|
1
|
0
|
805
|
|
POST
|
Thank you for your response. I implemented your solution but the shadowRoot was null. Then, I tried to access the view property of the arcgis-scale-bar and then sub-property viewpoint and I get the scale attribute. However, I noticed that displayed scale and the scalebar.view.viewpoint.scale do not match. For example, when the map scale on the map shows 20mi, the scale from the viewpoint is 2311162.2171545 which translates to 36.48 mil
... View more
10-22-2025
10:56 AM
|
0
|
2
|
820
|
|
POST
|
I have a tool that I require the users to zoom in to the area of interest beyond a specific scale so they can click at the correct location. Yes, users could monitor the scale bar display to see what is the current scale, but there are those who do not. So, in the tool panel I have the display of the current scale.
... View more
10-22-2025
10:14 AM
|
0
|
0
|
825
|
|
POST
|
I used to get the value of the scale bar widget, const scaleText = scaleBar.container.innerText.trim(); however, with the new scale-bar component, it seems that you cannot directly access its value. I suppose you need to get the scale from the arcgis-map component but sometimes it doesn't sync with the display of the scale value. Is there way to access the scale bar value?
... View more
10-21-2025
04:19 PM
|
0
|
6
|
881
|
|
POST
|
I want to use a combobox where the combobox items don’t display any selection indicators—no checkboxes or radio buttons next to them. It was possible until version 3.0.3. Thought of using select component but it lacks properties that I need. I think it can be done through CSS rendering the button not visible. Selection icons are not necessary when the selection mode is set to single.
... View more
10-13-2025
10:11 AM
|
0
|
2
|
373
|
|
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
|
642
|
|
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
|
998
|
|
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
|
434
|
|
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
|
513
|
|
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
|
634
|
|
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
|
590
|
|
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
|
648
|
|
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
|
649
|
|
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
|
579
|
|
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
|
1079
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 10-22-2025 03:33 PM | |
| 1 | 06-27-2025 11:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|