Open GoogleCodeExporter opened 9 years ago
Sorry,
I have incorrectly put my <altitudeMode> outside the <Point> pair. So this will
default to clampToGround.
But the problem is the same, as the default for this var. is clampToGround.
Correct kml below shows behaviour described as in original post. It should be:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2"
xmlns:gx="http://www.google.com/kml/ext/2.2"
xmlns:kml="http://www.opengis.net/kml/2.2"
xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>KmlFile2</name>
<Style id="sn_ylw-pushpin">
<IconStyle><scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
</Style>
<Placemark>
<name>Placemark</name>
<LookAt>
<longitude>175.070</longitude><latitude>-39.109</latitude>
<gx:altitudeMode>clampToGround</gx:altitudeMode><altitude>0</altitude>
<range>500</range><tilt>45</tilt><heading>0</heading>
</LookAt>
<styleUrl>#sn_ylw-pushpin</styleUrl>
<Point>
<gx:altitudeMode>clampToGround</gx:altitudeMode>
<coordinates>175.070,-39.109,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Apologies for screwup.
BobJordanB
Original comment by b_jor...@xtra.co.nz
on 17 May 2009 at 8:08
I'm surprised others cannot duplicate this. Am I posting in the wrong place? Am
I doing something wrong?
This seems a major issue with the way that Google earth locates placemarks
vertically when elevation
exaggeration is less that 1.0.
Can someone comment please.
Bob J.
Original comment by b_jor...@xtra.co.nz
on 25 May 2009 at 10:15
Original issue reported on code.google.com by
b_jor...@xtra.co.nz
on 17 May 2009 at 10:41