Is there a way to disable all the controls on the map and just show the globe on the sceneView?
Hey @AbishekSrikaanth,
Yes there is a way to do that! Yoy only need to add this line of code:
view.ui.components = [];
You can also add just some of the components like this:
view.ui.components = [ "attribution", "compass" ];
For more information check the documentation here: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#ui
I hope this could help, otherwise feel free to ask more questions 🙂
Best, Daniel
@Anonymous User thanks for the help. that worked. I appreciate it
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.