Get size values of base layer

Hello all,

Is there a way to get height/width values of the base layer by the code?
I need to use them like variables to fill my screen and, until now, I didn’t succeed.

Thank you for your help
:slight_smile:

The base layer itself has no limits.

If you mean what’s displayed on the screen, then it’s the screen width and height (remember to factor in scaling).

Thank you, it was exactly what I wanted!