|
POST
|
I am using the example as posted here to calculate the geodetic length and area of a location. Wanted to use imperial units (ft and miles). So, I changed const geodesicLength = geodeticLengthOperator.execute(line, { units: "kilometers" });
const planarLength = lengthOperator.execute(line, { units: "kilometers" });
const geodesicArea = geodeticAreaOperator.execute(polygon, { units: "square-kilometers" });
const planarArea = areaOperator.execute(polygon, { units: "square-kilometers" }); to: const geodesicLength = geodeticLengthOperator.execute(line, { units: "miles" });
const planarLength = lengthOperator.execute(line, { units: "feet" });
const geodesicArea = geodeticAreaOperator.execute(polygon, { units: "square-miles" });
const planarArea = areaOperator.execute(polygon, { units: "square-feet" });
Then I noticed that the geodetic measurements were way off incorrect Then I changed the "units" to "unit" for geodetic measurements const geodesicLength = geodeticLengthOperator.execute(line, { unit: "miles" });
const planarLength = lengthOperator.execute(line, { units: "feet" });
const geodesicArea = geodeticAreaOperator.execute(polygon, { unit: "square-miles" });
const planarArea = areaOperator.execute(polygon, { units: "square-feet" }); and now I get correct results!! I don't see anywhere in the documentation stating to use unit instead of units for geodetic measurements.
... View more
a week ago
|
0
|
1
|
139
|
|
POST
|
I use the search component( arcgis js api 4.33), but the chrome dev tools flags it as depreciated! <arcgis-map basemap="streets-navigation-vector" id="my-map" center="-120.45, 37.183" zoom="6" popup-disabled>
<arcgis-search position="top-left"></arcgis-search>
<arcgis-zoom position="top-left"></arcgis-zoom>
<arcgis-compass auto-destroy-disabled position="top-left"></arcgis-compass>
<arcgis-scale-bar position="bottom-left" bar-style="line" unit="imperial"></arcgis-scale-bar>
</arcgis-map> Chrome Dev Tools
... View more
3 weeks ago
|
0
|
1
|
188
|
|
POST
|
@ReneRubalcava It isn’t immediately clear to users that they need to click the stacked layers icon to select which layer to display in the table. As a possible enhancement—and to avoid showing an empty table—you could make it so that clicking the table icon (in the action bar) automatically opens the table with the first visible layer from the map. For instance, developers could collect all currently displayed layers into an array, and when the table icon is clicked, open the table using layer[0] or whichever layer the developer sets using a table-layer property.
... View more
a month ago
|
0
|
0
|
58
|
|
POST
|
The feature table is not slotted into the map. I realized that the issue was a css setting for the arcgis-features where I had position:absolute. All good now. Thank you.
... View more
10-23-2025
03:58 PM
|
0
|
0
|
129
|
|
POST
|
if both arcgis-feature-table and arcgis-features web components are open, they will be overlapped. One way to address it is by CSS, to monitor if arcgis-features is open then you adjust the width of the table. I am wondering if there is a another way to do it, or should it be an enhancement request? @ReneRubalcava
... View more
10-23-2025
01:00 PM
|
0
|
2
|
170
|
|
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
|
426
|
|
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
|
441
|
|
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
|
446
|
|
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
|
502
|
|
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
|
270
|
|
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
|
463
|
|
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
|
819
|
|
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
|
305
|
|
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
|
384
|
|
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
|
525
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-22-2025 03:33 PM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|