jordoncm / earth-api-samples

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

hittest for buildings vs terrain seem to be mixed up #890

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open http://earth-api-samples.googlecode.com/svn/trunk/examples/hittest.html
2. without changing the camera, click on a part of the Coit Tower

What is the expected output or behavior? What do you see instead?
Expected: A 'B' placemark should be created and placed at the point where your 
click intersects with the building's geometry; a 'T' placemark should be 
created and placed where your click intersects with terrain; a 'G' placemark 
where the click point intersects with the globe.

Actual: A 'T' placemark is created and placed where the intersection with the 
building occurs, and a 'G' placemark is created and placed where intersection 
with the globe occurs. The 'B' placemark is not created (building hittest seems 
to be returning no intersections).

Which plugin version are you using?
7.0.2.8415
The expected result occurs in 6.1.0.5001

Which browsers and operating systems are affected?
Broken (7.0.2.8415) is Chrome on Mac OS X 10.6.8
Working (6.1.0.5001) is Chrome on Windows XP

Original issue reported on code.google.com by mmc...@gmail.com on 20 Dec 2012 at 6:07

GoogleCodeExporter commented 8 years ago
Upgraded XP plugin to 7.0.2.8415 and now getting unexpected result in this one, 
also.

Original comment by mmc...@gmail.com on 20 Dec 2012 at 6:23