Hi,
This is because terrain altitude data, like most other data in Earth
layers, is regionated. That is, at different zoom levels, different
levels of detail of data for a given latitude/longitude will be
loaded.
Also, getGroundAltitude is intended purely as a visualization helper
method. For example, the Monster Milktruck sample uses it to compute
the milktruck's orientation (heading/tilt/roll, or yaw/pitch/roll) so
that the truck is orthogonal to the terrain surface. getGroundAltitude
isn't designed to provide consistent accurate measurements for storage
or scientific computations.
I will say, though, that the altitude retrieved when zoomed up close
close is likely as accurate as it will get.
Hope that clears things up!
- Roman