Alvin050789 / kml-samples

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

using regions to decide when to display objects, "hidden" objects (their regi... #162

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Comments: 
using regions to decide when to display objects, "hidden" objects (their region 
is not active) shouldn't be cIickable

 objects that are not visible to the user should not be cIickable; invisible-but-cIickable objects might confuse the user.

Relevant Application(s): 
Google Earth 4.2.0205.5730 windows

Steps to Reproduce: 
within a placemark tag: give it a name tag. declare a region (with a latlonalt 
box that will hold the polygon), declare a polygon within the latlonbox region. 
make note where the polygon is when the region is active (CTRL+cIick it to get 
a balloon with the name). Zoom away such that the region becomes inactive and 
the polygon dissapears. CTRL+cIick where the polygon is supposed to be -- 
you'll notice you get a balloon.

Supporting Files: 

<Placemark>
<name>example</name>
<Region>
<LatLonAltBox>
<north>19.694313411360931</north>
<south>14.885872733766515</south>
<east>-157.6325998992816</east>
<west>-162.9197076981948</west>
<minAltitude>2000000</minAltitude>
<maxAltitude>2000000</maxAltitude>
</LatLonAltBox>
<Lod>
<minLodPixels>128</minLodPixels>
</Lod>
</Region>
<Polygon>
<tessellate>1</tessellate>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-163.148633217901,19.694313411360931,2000000
-162.9197076981948,14.885872733766515,2000000
-157.6325998992816,14.542874467652146,2000000
-157.5976769947033,19.396268271090713,2000000
-163.148633217901,19.694313411360931,2000000
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>

Reported By: Jos

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