Update some example styles / formatting
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user