How to access the basemap from a custom widget in experience builder? I created a custom widget and i want to render some graphic layer to the map from that custo widget i created. So i know to know how to access the basemap via jimumapview or how to pass that basemap props to my custom widget in order for me to add/manipulate layers and map details?
Solved! Go to Solution.
Follow the steps given in this link to access the map in the custom widget
https://developers.arcgis.com/experience-builder/guide/add-layers-to-a-map/
Here, the setting.tsx file is very important as it is responsible for getting the mapWidgetId and adds that to widget props.
Follow the steps given in this link to access the map in the custom widget
https://developers.arcgis.com/experience-builder/guide/add-layers-to-a-map/
Here, the setting.tsx file is very important as it is responsible for getting the mapWidgetId and adds that to widget props.