Setting layer extents via API #2181
Unanswered
JosephTRichardson
asked this question in
Support Q&A
Replies: 1 comment
-
In our code we also set alpha to true:
Does that perhaps help? I don't see anything else in the initialization that looks any different from what we do, except the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I asked a question a couple weeks ago about visualizing elevation, the answer to which proved to be GDALDEM color-relief layers.
I can implement those through .earth files to good effect, but I'm now trying to do it through the osgEarth API. I can successfully create a GDALDEM layer, but when I add it to the map, the area of the elevation layer is correctly shaded -- but so is the rest of the earth, with a null value. What I get is a globe shaded in blue (0), with the area of the DTED tile shaded appropriately. How do I set the extent of the GDALDEM layer so only the area of the elevation layer is shaded?
Any idea what I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions