Kazu46Machi / earth-api-samples

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

Mouse events should be triggered on extruded polygons #178

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What should this feature enhancement do?
When clicking on the extruded portion of an extruded polygon at high camera
tilt, mouse events on the polygon's placemark should be fired. They
currently aren't.

Are there any known workarounds that produce the similar results?
It may be possible using a MultiGeometry.

The following KML is useful for testing. Note that if/when this works in
the desktop client, the correct behavior will likely be translated
automatically to the plugin.

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
 <Placemark>
   <name>hey</name>
   <description>Description balloon</description>
   <Polygon>
     <extrude>1</extrude>
     <altitudeMode>relativeToGround</altitudeMode>
     <outerBoundaryIs>
       <LinearRing>
         <coordinates>
           0,0,70000
           1,0,70000
           1,1,70000
           0,1,70000
           0,0,70000
         </coordinates>
       </LinearRing>
     </outerBoundaryIs>
   </Polygon>
 </Placemark>
</kml>

Original issue reported on code.google.com by api.roman.public@gmail.com on 6 Mar 2009 at 6:36

GoogleCodeExporter commented 8 years ago
Roman, I think this currently works on the desktop client.

Original comment by rmpatern...@gmail.com on 8 Mar 2009 at 1:59

GoogleCodeExporter commented 8 years ago
Just tested version Google Earth 5.0.11337.1968 on Mac and Windows, the 
extruded part
isn't clickable. Are you using a different version?

Original comment by api.roman.public@gmail.com on 9 Mar 2009 at 6:06

GoogleCodeExporter commented 8 years ago
You are right, the client also have problems. When I do your workaround is 
really the
BASE of the polygon what is clickable, not the sides or top.

Original comment by rmpatern...@gmail.com on 4 May 2009 at 9:00

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The same applies for a non-extruded polygons that have a vertex raised - for 
example
a square with one side at altitude zero and the opposite one at an altitude 
(using
alt rel to ground) like

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
 <Placemark>
   <name>hey</name>
   <description>Description balloon</description>
   <Polygon>
     <altitudeMode>relativeToGround</altitudeMode>
     <outerBoundaryIs>
       <LinearRing>
         <coordinates>
           0,0,0
           1,0,70000
           1,1,70000
           0,1,0
           0,0,0
         </coordinates>
       </LinearRing>
     </outerBoundaryIs>
   </Polygon>
 </Placemark>
</kml>

Only the projected shadow (BASE) on the ground is clickable.

Original comment by romynpg on 15 Mar 2010 at 2:38

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 28 Jul 2011 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by jli...@google.com on 6 Jun 2013 at 9:04