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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.