Querying Google Earth max texture size

3 views (last 30 days)
Michael Sapper
Michael Sapper on 24 Aug 2016
Answered: Stephen Jue on 31 Aug 2016
The maximum image size (per side) that Google Earth can display can be found through its Help menu. It's a function of one's graphics card.
I'd like to somehow query that value so that I don't create Google Earth image overlays that are too large. Is there any way to do this?

Answers (1)

Stephen Jue
Stephen Jue on 31 Aug 2016
The maximum texture size of your graphics card can be queried in MATLAB by using the opengl function, like so:
>> d = opengl('data')
>> d.MaxTextureSize
ans =
16384

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!