Hi,
my scenario is on click of a button I want to add Imagery layer as basemap dynamically. I tried to add the Imagery layer to my map. its throwing error. Kindly help me out on this.
Hi @naveenbesri ,
It's hard to say for certain without a description of the error or seeing how you are adding the basemap. One way to add a basemap based off a button click would be like so: https://codepen.io/sagewall/pen/ExJbBpr
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.