Pan location to the centre of the map

Hi,

I need help on panning the location to the centre of the map.

Thanks,

Gowtham.

Hello,

Are you trying to reset the home view? If so, we have a function on camera you can call: viewer.camera.flyHome()

If not, can you please provide some more information about what you’re going to do?

Best,

Hannah

Hi Hannah,

Thanks for your reply. As you mentioned I am providing the details of my requirement. I have multiple billboards on the map at different locations. I need to pan the billboard to the center of the map on clicking button in the custom info box (opened on click of the billboard). Also I am using Cesium 1.16. Please let me know if you need more information.

Thanks,

Gowtham.