How to set the camera view to the scene of points on the map

Hello dear cesium community.

I am completely new to cesium and I need help. My task is this - I get a definite number of coordinates that should be displayed on the map in the form of points, I figured it out. But the next thing I have to do after drawing the points is to make an approach to this cluster of points so that they all fall into the frame.

I need to get something like this:

How can this be done?

Hi @delta, welcome to the community!

This tutorial can help you get started with using the camera. In the first section, you’ll see an example of setting the camera’s heading, pitch, and roll.

Let me know if this helps.

1 Like