Append textStyle to existing style
This commit is contained in:
@@ -394,7 +394,7 @@ ol.format.KML.createFeatureStyleFunction_ = function(style, styleUrl,
|
|||||||
if (drawName) {
|
if (drawName) {
|
||||||
nameStyle = ol.format.KML.createNameStyleFunction_(style[0],
|
nameStyle = ol.format.KML.createNameStyleFunction_(style[0],
|
||||||
name);
|
name);
|
||||||
return [style, nameStyle];
|
return style.concat(nameStyle);
|
||||||
}
|
}
|
||||||
return style;
|
return style;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user