diff --git a/control/canvastitlecontrol.js b/control/canvastitlecontrol.js index 4f7e64ca..dbf0ee55 100644 --- a/control/canvastitlecontrol.js +++ b/control/canvastitlecontrol.js @@ -61,7 +61,7 @@ ol.control.CanvasTitle.prototype.setMap = function (map) ol.control.CanvasTitle.prototype.setStyle = function (style) { var text = style.getText(); this.font_ = text ? text.getFont() || "20px Arial" : "20px Arial"; - this.text_ = text ? text.getText() : "Title"; + this.text_ = text ? text.getText() : ""; var stroke = text ? text.getStroke() : null; var fill = text ? text.getFill() : null; this.strokeStyle_ = stroke ? ol.color.asString(stroke.getColor()) : "#fff";