I already get minimap and compass script but the minimap appear in progress loader. So, can i know how to change it to appear after progress loader.
To show your minimap & compass when the scene is ready to be displayed, after the circle progress bar completes, execute the display code from the onSceneReadyToDisplay
callback: GitHub - shapespark/shapespark-viewer-api: JavaScript API for interacting with the Shapespark 3D scene.
the example that you give to me is to fadeout but i want to show the minimap after loader
The onSceneReadyToDisplay callback allows you to execute arbitrary custom code. To show minimap & compass from the callback you’d have to make them not visible by default using display: none
style rule in the HTML code, and then set the display
style property to block
in the JavaScript handler.
can you give me example code because i dont understand about script very well?
Could you share a link to your scene that is using the minimap?