Styling
This commit is contained in:
parent
12466d214c
commit
0ef74d94be
|
@ -352,8 +352,9 @@ const styles = {
|
||||||
return new Style({
|
return new Style({
|
||||||
image: new Icon({
|
image: new Icon({
|
||||||
src: icon,
|
src: icon,
|
||||||
scale: isHighlighted ? 3 : 1.5,
|
scale: isHighlighted ? 2 : 1,
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
|
color: isHighlighted ? 'red' : 'black',
|
||||||
// anchor: [0, 0],
|
// anchor: [0, 0],
|
||||||
}),
|
}),
|
||||||
text:
|
text:
|
||||||
|
|
Loading…
Reference in New Issue