be88ex / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
1 stars 0 forks source link

LookAt does not always fly to the correct location #278

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create this kml file

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<LookAt>
<latitude>36.559942</latitude>
<longitude>-120.839733</longitude>
<range>48</range>
<tilt>87</tilt>
<heading>-60</heading>
</LookAt>
</Document>
</kml> 

2. Use a script that reads the kml file
3. Run script several times and notice how the position that the LookAt
goes to is not always correct loocation

What is the expected output or behavior? 

I would expect the exact location every time the script runs

Which plugin version are you using?

1.0.0.1

Which browsers and operating systems are affected?

All of them

Original issue reported on code.google.com by southbay...@gmail.com on 8 Jul 2009 at 5:02

GoogleCodeExporter commented 8 years ago
Try using an <altitudeMode> of absolute, and setting an explicit altitude. This 
is
likely related to the amount of terrain data that has streamed in.

Original comment by api.roman.public@gmail.com on 1 Aug 2009 at 12:14