Zoom on array of Cartesian3 objects ?!

I have arrays on Cartesian3 objects ( not visual ) on which I would like to zoom, but just passing them as a parameters to zoomTo or flyTo - does nothing.

  • Is it possible ?

The viewer/camera flyTo methods don’t take an array of points, but they do take an array of entities, if that’s what you’re hoping to fly to.

If you want to fly to a list of locations to make sure they are all in view, you could try computing a rectangle around them and fly to that instead.