mamta-bisht / kml-samples

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

KML in Google Maps - Random Placemark drawing order #268

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which products are affected?
Google Maps - Display of overlapping placemarks from KML is not
reproducible, apparently not controllable. 

What steps will reproduce the problem?
1. Load this Map: http://bit.ly/30MsEQ in multiple windows.
Calls this KML file: http://home.olemiss.edu/~mmossing/oxmsbike090320e.kml
2. Observe the random drawing order of the polylines
3.

What is the expected output or behavior? 

Would like to show bike lanes (as opposed to routes) by drawing a thin
white roadway <LineString> on top of a wider colored bikelane.

What do you see instead?

Every time the map loads the drawing order changes.  All "Lanes " are
listed prior to the roadways in the kml file but sometimes the white
is on top sometimes the reverse.  Tried to add altitude to white line
coordinates - no apparent effect.

What application versions (if any) are you using?
Maps default version March 2009

Which operating systems and browsers are affected?
Mac OS10.4, 10.5 Firefox and Safari

Please provide any additional information (code snippets/links) below.

Map: http://bit.ly/30MsEQ

KML: http://home.olemiss.edu/~mmossing/oxmsbike090320e.kml

Original issue reported on code.google.com by mmoss...@gmail.com on 1 Apr 2009 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 3 Apr 2009 at 5:36

GoogleCodeExporter commented 8 years ago
Woops. not a Dup.

Original comment by api.roman.public@gmail.com on 3 Apr 2009 at 5:37

GoogleCodeExporter commented 8 years ago
issue 268 - The drawing order presently is not in fact alphabetical (if it were 
it
would be fixable by hand), but random, the map is drawn differently each time 
it loads.

Yes not a dup. 

Original comment by mmoss...@gmail.com on 3 Apr 2009 at 5:49

GoogleCodeExporter commented 8 years ago
What about being able to control the drawing order of polygons? If you add one 
KML
polygon, then another, there is no control as to which is displayed on top 
(like in 
GIS). 

Original comment by peterdon...@gmail.com on 11 Mar 2010 at 6:56

GoogleCodeExporter commented 8 years ago

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