I need to know what is the upper-left and the lower-right coordinates on the map of the screen (or upper-right and lower-left). I want to save the coordinates to view an extend in future.
I know I can save and load camera properties. But I need the longitude/ latitude values.
Do you need the extent that is visible from the camera? Do you need it for a specific mode or all three? Calculating the visible extent will be different in all three modes.
I don’t think it’s a simple thing to do, but I think it’s a common enough request that we should have support for it out of the box. I’ve created Github issue #871 for it.
Thanks for posting this Tamy. This was helpful to me as well. I'm sure this is the holy grail, but has anyone come up with a good solution to the "sky is visible" problem?
Just thinking out loud here… Couldn’t we set the camera as a sensor (I remember there was some sensor library in the past), calculate the intersection of the sensor with the geoid and get the bounds of that shape? would that work?