Add color invert option to scale-line example
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
#scaleBarOptions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ol-scale-bar-inverted .ol-scale-singlebar-even {
|
||||
background-color: var(--ol-background-color);
|
||||
}
|
||||
|
||||
.ol-scale-bar-inverted .ol-scale-singlebar-odd {
|
||||
background-color: var(--ol-subtle-foreground-color);;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user