Update some example styles / formatting

This commit is contained in:
Maximilian Krög
2020-08-01 11:47:26 +02:00
parent 82328fe2c1
commit 37e5529b22
14 changed files with 97 additions and 92 deletions
+2 -2
View File
@@ -57,10 +57,10 @@ map.on('singleclick', function (e) {
);
if (hit) {
style.getStroke().setColor('green');
statusElement.innerHTML = ' A feature got hit!';
statusElement.innerHTML = 'A feature got hit!';
} else {
style.getStroke().setColor('black');
statusElement.innerHTML = ' No feature got hit.';
statusElement.innerHTML = 'No feature got hit.';
}
feature.changed();
});