fix for KML element "fill" is unsupported, patch by rdewit, r=me, tests by me,
(Closes #1724) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8532 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -339,7 +339,12 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
var r = matches[4];
|
||||
style["fillColor"] = "#" + r + g + b;
|
||||
}
|
||||
|
||||
// Check is fill is disabled
|
||||
var fill = this.parseProperty(styleTypeNode, "*", "fill");
|
||||
if (fill == "0") {
|
||||
style["fillColor"] = "none";
|
||||
}
|
||||
|
||||
break;
|
||||
case "iconstyle":
|
||||
// set scale
|
||||
|
||||
Reference in New Issue
Block a user