polfdz / osmbonuspack

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

Area line color #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load kml file with inline style color eg 
<Style><LineStyle><color>ff0000ff</color></LineStyle></Style>
2.
3.

What is the expected output? What do you see instead?
The area to be displayed by a blue line, but the line is red

What version of the product are you using?
4.2.3

Please provide any additional information below.
It seems the color order has been reversed...

Original issue reported on code.google.com by fahrenhorstw on 2 Jan 2014 at 9:28

GoogleCodeExporter commented 9 years ago
In KML, ff0000ff is red. 

KML reference  
(https://developers.google.com/kml/documentation/kmlreference?hl=fr#colorstyle) 
says: "The order of expression is aabbggrr". 

No idea why they made this strange choice, but this is the norm. 

Original comment by mathieu....@gmail.com on 2 Jan 2014 at 5:02

GoogleCodeExporter commented 9 years ago
Ah - one thing I did not get from the spec. Thank you.

Original comment by fahrenhorstw on 2 Jan 2014 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 3 Jan 2014 at 12:15