Select to view content in your preferred language

How to access the basemap from a custom widget in experience builder?

576
1
Jump to solution
04-03-2023 04:28 AM
SatyaAnudeepKotaru
New Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
SatyaAnudeepKotaru
New Contributor

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.

View solution in original post

0 Kudos
1 Reply
SatyaAnudeepKotaru
New Contributor

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.

0 Kudos