we were missing a break statement in the KML parseStyle method, tests are modified accordingly, r=fredj (Closes #2448)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10006 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -329,6 +329,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
if (width) {
|
||||
style["strokeWidth"] = width;
|
||||
}
|
||||
break;
|
||||
|
||||
case "polystyle":
|
||||
var color = this.parseProperty(styleTypeNode, "*", "color");
|
||||
@@ -358,6 +359,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "iconstyle":
|
||||
// set scale
|
||||
var scale = parseFloat(this.parseProperty(styleTypeNode,
|
||||
|
||||
Reference in New Issue
Block a user