Is there a way to disable all the controls on the map and just show the globe on the sceneView?
Solved! Go to Solution.
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
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