cannot draw a label with value 0, r=fredj (closes #3258)
This commit is contained in:
@@ -191,7 +191,7 @@ OpenLayers.Style = OpenLayers.Class({
|
||||
style.display = "none";
|
||||
}
|
||||
|
||||
if (style.label && typeof style.label !== "string") {
|
||||
if (style.label != null && typeof style.label !== "string") {
|
||||
style.label = String(style.label);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user