Cartographic values of my 2D map corners

I am trying to get the values of the camera’s 4 corners in cartographic values.
How can I get those values?

Hello,

You can use the Camera.computeViewRectangle function to get the rectangle of the camera view. The corners are rectangle.northwest, rectangle.southwest, rectangle.southeast and rectangle.northeast.

Best,

Hannah

Hannah,

As usual, works like charm.

Thanks.