ranathunga / kml-samples

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

Draw order control (z-index) for LineStrings and other geometries #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which products are relevant to this feature request?
Google Earth Desktop, Google Earth plugin

What should this feature enhancement do?
This feature would allow the user to specify a draw order or a z-index for
line strings.  For example, a line string geometry with a z-index of 9 will
appear over the top of a line string with a z-index of 8. This would be
nice for all geometries and would be really nice if you could specify a
z-index for MultiGeometry.

Are there any currently known workarounds that produce the same, or
similar, result?

There is a workaround for polygons but not for line strings.  If you set
the altitude mode to ClampToGround but still assign altitudes to every
coordinate, the Earth API will place the polygon with higher altitudes on
top of the polygons with lower altitudes.

Original issue reported on code.google.com by kyle_ein...@yahoo.com on 17 Jul 2009 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by jli...@google.com on 31 Aug 2010 at 10:37

GoogleCodeExporter commented 9 years ago
I greatly want this as well.  I want to have multiple linestrings on the same 
path but only have the "top" one visible.  A workaround would be pretty messy. 

Original comment by agrah...@gmail.com on 4 May 2012 at 2:50

GoogleCodeExporter commented 9 years ago
This draw order control should be implemented in all kinds of layer. At the 
moment there is no workaround to place polygons over groundoverlays, as it is 
mentioned in Issue 345: 
http://code.google.com/p/earth-api-samples/issues/detail?id=345

Original comment by hauber...@gmail.com on 7 May 2012 at 7:41

GoogleCodeExporter commented 9 years ago
I would like to have this ability for all geometries. I am trying to show 
"important" placemarks above "not as important" placemarks in the Google Earth 
plugin. Even with altitude set to absolute and a difference of over 50 meters, 
placemarks seem to be drawn at random.    

Original comment by brentcam...@gmail.com on 8 Jun 2012 at 12:04

GoogleCodeExporter commented 9 years ago
I too would like to see this. I keep track of outings via gps & display them in 
GE using multiple colors. Some paths need a high draw order so they are not 
overwritten by others. 

Original comment by aldun...@shaw.ca on 8 Oct 2012 at 2:24

GoogleCodeExporter commented 9 years ago
Same here, want this

Original comment by cliffc...@gmail.com on 22 Sep 2014 at 8:39