Garthanos / geoxml

Automatically exported from code.google.com/p/geoxml
1 stars 0 forks source link

Using zIndexProcess breaks KML styles #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using a kml with styled icons from style declarations works as expected. 

Adding the markeroptions{zIndexProcess:orderOfCreation} option where
orderOf Creation is:

 function orderOfCreation(marker,b) {return 1;}

breaks they styling and only the last icon style is used for all of the
markers.

example KML: http://wv.enplan.com/data/fires/NCalModis2.kml

Correctly rendered with GGeoXML:

http://wv.enplan.com/v2.html

Incorrect symbols with GeoXML:

http://wv.enplan.com/v3.html

Original issue reported on code.google.com by marc.pfi...@gmail.com on 10 Sep 2009 at 12:15

GoogleCodeExporter commented 9 years ago
Is this browser specific? They appear the same to me.. hmm maybe no recent 
enough
fires on the list (thats a good thing though right)

It may be that I have more than one issue is resulting in the same problem .. 
where
passing any markeroption is mucking up icon styles. 

Original comment by lanceala...@gmail.com on 19 Sep 2009 at 12:20

GoogleCodeExporter commented 9 years ago
Yeah, right now is not the best example since the fires are old. Let me make a 
custom
kml just for testing.

Original comment by marc.pfi...@gmail.com on 19 Sep 2009 at 4:31

GoogleCodeExporter commented 9 years ago
Here's some examples using a KML with 3 different styles.

Incorrect symbols with GeoXML when passing markerOptions:

http://wv.enplan.com/v3.html

Correct symbols with GeoXML and no markerOptions :

http://wv.enplan.com/v4.html

Original comment by marc.pfi...@gmail.com on 21 Sep 2009 at 8:13

GoogleCodeExporter commented 9 years ago

Original comment by lanceala...@gmail.com on 18 Feb 2010 at 5:56