ranathunga / kml-samples

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

selecting one polygon inadvertently selects another #161

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Comments: 
if you tilt the camera to have a view close to a tangential plane of the earth 
(viewing a polygon from the "side") and try to cIick the polygon it does not 
work. the cIickable area associated with a polygon seems to be always projected 
onto the earth's surface. (ie the cIicking area of a floating polygon is 
actually its equivalent area on the surface of the earth if the polygon were 
clampToGround). because this is the case it is not hard to understand that 
ctrl+cIicking within this "clamptoground" area will activate any visible 
polygon over the area at any altitude.

Relevant Application(s): 
Google Earth 4.2.0205.5730 windows

Steps to Reproduce: 
make two polygons (each in two separate placemark declarations with different 
placemark names) have the same lat/long coordinates. One polygon shall have a 
low altitude, the other shall have a high altitude. adjust the 3D such that 
it's a bird's eye perspective over both polygons (of course the lower altitude 
polygon will be "hidden" behind the higher one). CTRL+cIick the polygon. You'll 
notice both polygons were cIicked (if you use a stylemap to change their 
colors), and a balloon appears for the lower polygon. (I expected only the 
higher polygon would be selected)

Supporting Files: 
(easily reproduced)

Workarounds: 
checking off the visibility of unwanted polygons to isolate the desired polygon.

Reported By: Jos

Original issue reported on code.google.com by api.roman.public@gmail.com on 14 Aug 2008 at 10:52

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 25 Nov 2008 at 7:50