resium icon indicating copy to clipboard operation
resium copied to clipboard

how can i Setting default home view?

Open SeongminJaden opened this issue 1 year ago • 1 comments

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>

SeongminJaden avatar Nov 13 '23 12:11 SeongminJaden

You can use the <CameraFlyTo> component.

https://resium.reearth.io/components/CameraFlyTo

mfarmer-ara avatar Nov 14 '23 14:11 mfarmer-ara