Skip to content

Commit 1cf600b

Browse files
author
Stefan Kuethe
committed
Add zindex
1 parent 5263755 commit 1cf600b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/openlayers/models/layers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class Layer(OLBaseModel):
1717
background: str | None = None
1818
opacity: float | None = 1.0
1919
visible: bool | None = True
20+
z_index: int | None = Field(None, serialization_alias="zIndex")
2021

2122
@field_validator("id")
2223
def validate_id(cls, v) -> str:

0 commit comments

Comments
 (0)