resium
resium copied to clipboard
how can i Setting default home view?
I want Resium to display the initial rendering screen and the screen at the coordinates I want when I click the home button.
<Viewer style={{ position: "absolute", top: 0, left: 0, right: 0, bottom: 0, borderRadius: "1vw", backgroundColor: "#7D7D7D", }} > {isButtonClicked && ( <CzmlDataSource data={czml} /> )} </Viewer>
You can use the <CameraFlyTo>
component.
https://resium.reearth.io/components/CameraFlyTo