I'm overlaying large maps on Google Earth, but parts of the underlying map peeks through the images:
I've tried all kinds of setAltitudeMode()
and setAltitude()
settings, but no joy.
Is this a known bug, or is there a work-around?
Thanks!
Bill
seg = ge.createGroundOverlay(m.mid);
latLonBox = ge.createLatLonBox('');
latLonBox.setBox(m.north, m.south, m.east, m.west, m.rotatio);
seg.setLatLonBox(latLonBox);
icon = ge.createIcon('');
icon.setHref(m.url);
seg.setDrawOrder(-1);
seg.setIcon(icon);
ge.getFeatures().appendChild(seg);
The settings you want are <altitudeMode>clampToGround</altitudeMode>
FYI - the only two allowed options are clampToGround
and absolute
(there are more options if using the gx:altitudeMode
)
You should also have <altitude>0</altitude>
Judging by the image provided, you have set the mode to absolute
with a non zero altitude
I would also avoid using a negative number for drawOrder
- I am not sure they are valid?? besides, you want it on TOP of the GE imagery, so the drawOrder should be higher than it's (and I doubt it's drawOrder is -2 or lower)
Good Luck!
EDIT: After seeing example page in comments (which works for me) I think you should determine what version of the plug-in you have and maybe update it. Either that or update your video card drivers.
This link will tell you what version you have (it is listed under the GE window)
I am using 6.2.2.6613 but the latest is 7.x I believe. If you are under 6.x I would recommend an update
This link has information on how to manually uninstall the GE plug-in, then simply visit your webpage to re-install it