Add a space between scale -value and -unit

For improved readability. Issue #3116
This commit is contained in:
sirtet
2015-01-13 16:16:20 +01:00
parent 35468e2bbb
commit 66fea4dec9

View File

@@ -325,7 +325,7 @@ ol.control.ScaleLine.prototype.updateElement_ = function() {
++i; ++i;
} }
var html = count + suffix; var html = count + ' ' + suffix;
if (this.renderedHTML_ != html) { if (this.renderedHTML_ != html) {
this.innerElement_.innerHTML = html; this.innerElement_.innerHTML = html;
this.renderedHTML_ = html; this.renderedHTML_ = html;