|
POST
|
This is the current behavior that we are looking to fix in 5.0. If you want to try the beta Popup component, it will show up above other components, except the Popup opened by search, that is still the widget Popup. https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-popup/
... View more
2 weeks ago
|
0
|
0
|
106
|
|
POST
|
Ah, I see. Yeah, the legend needs to wait for the map to load before it hydrates all children components. In this case, it's more appropriate to wait for mapElement.viewOnReady() or listen for the map elements arcgisViewReadyChange event. The components arcgisReady event just let's you know it now has a view, not that the view is ready.
... View more
2 weeks ago
|
0
|
0
|
112
|
|
POST
|
See this answer here: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/componentonready-of-legend-map-componenet-was-not/m-p/1666543/highlight/true#M87887 You can review the components patterns guide for more assistance. https://developers.arcgis.com/javascript/latest/programming-patterns/
... View more
2 weeks ago
|
0
|
0
|
114
|
|
POST
|
With components, you should not be adding elements to the `view.ui`. You can add them directly to the map component. In 4.33, you can use the placement component to help with this. let arcgisMap = document.querySelector('arcgis-map');
let infoPanel = document.createElement('DIV');
let widget = document.createElement('arcgis-search');
let placement = document.createElement('arcgis-placement');
placement.position = "top-right";
infoPanel.className = 'infoPanel border';
infoPanel.innerHTML = 'Info Panel';
infoPanel.style.borderWidth = '1px';
infoPanel.style.borderColor = 'blue';
infoPanel.style.borderStyle = 'solid';
infoPanel.appendChild(widget);
placement.appendChild(infoPanel);
arcgisMap.appendChild(placement); https://codepen.io/odoe/pen/YPqVQOp?editors=1001 In 4.34, you can set the `infoPanel.slot ="top-right"` and `arcgisMap.appendChild(infoPanel)`
... View more
2 weeks ago
|
0
|
0
|
129
|
|
POST
|
In 4.33, the selector is still `.esri-legend`. And in this case, `componentOnReady` only means the component code has loaded and properties/methods of the component are available to access. It doesn't mean that the data for the legend to get created is loaded. You can use the `arcgisReady` event of the legend if you want to do this in 4.33. In 4.34 there is a `arcgis-legend` class, but it's in the shadowRoot and can't be queried via conventional means. So that won't work.
... View more
2 weeks ago
|
0
|
0
|
162
|
|
POST
|
See this related question: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/in-arcgis-sketch-component-how-to-set-all/m-p/1665068#M87845 Currently can't display the text tool in the sketch component. As for adding symbology options or other custom options, not something you can do at the moment. We can look at something like this in the 5x lifecycle.
... View more
2 weeks ago
|
0
|
1
|
114
|
|
POST
|
Thanks for catching this. It doesn't look like there is a way to work around this at the moment, but we'll fix this for 5.0.
... View more
2 weeks ago
|
0
|
0
|
109
|
|
POST
|
Ok, we'll look into this one for 5.0. We had to try and cover various scenarios when slotted in ui and not. See what we can do here, thanks!
... View more
2 weeks ago
|
0
|
0
|
111
|
|
POST
|
That's odd, directions doesn't have a max width. It has a min-width of 300px. https://codepen.io/odoe/pen/MYyKEKY?editors=1000 Do you have a sample showing how the panel and component are working together? Is your calcite version up to date with what 4.34 is using (^3.3.2)?
... View more
3 weeks ago
|
1
|
2
|
136
|
|
POST
|
If you're using JSX, you probably need to use the the camelCase for attributes. showCreateToolsFreehandPolygon showCreateToolsFreehandPolyline However, it does look like the multipoint and text options will not show at the moment. We're looking into this and will have this updated in 5.0. Ok, small update. I had to set a timeout and the multipoint tool does show up. The text tool does not as that is not quite ready yet. https://codepen.io/odoe/pen/myPJvgd?editors=1001
... View more
3 weeks ago
|
0
|
1
|
162
|
|
POST
|
The way the popup component works, is if you add the `arcgis-popup` to the `popup` slot, it is now the popup used when you click on the map. If you don't add it, the popup widget is used. In the sample, you don't need to interact with the popup for it to be used. I'm glad you didn't notice a difference, that means it's doing it's job 🙂 I recently did a video on the popup component you can see here!
... View more
4 weeks ago
|
2
|
1
|
205
|
|
POST
|
Set the `esriConfig.portalUrl` outside the useEffect, probably at the top of the page. In apps, I usually set this in the main entry point file or maybe in the `globalThis.esriConfig` before the map components are used.
... View more
4 weeks ago
|
3
|
2
|
196
|
|
POST
|
That's odd. Search component was done at 4.33. I don't see the message here. https://codepen.io/odoe/pen/JoGVaqR?editors=1000 Are you using Directions component by chance?
... View more
4 weeks ago
|
1
|
0
|
154
|
|
POST
|
If you have a github repo, can take a look, but our samples don't use the react wrappers https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-and-charts-components-react
... View more
10-27-2025
03:20 PM
|
0
|
0
|
408
|
|
POST
|
Yeah, any time you want to take over the Popup on click, you need to set this. Note, this only disables popup on click, it won't disable the Search popup.
... View more
10-27-2025
08:17 AM
|
1
|
0
|
163
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 4 weeks ago | |
| 3 | 4 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 10-27-2025 08:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|