Skip to content

Commit 415e7da

Browse files
authored
Fix bad update style example in Readme (#13)
1 parent d384726 commit 415e7da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ refresh_file_layer(
103103

104104
### Styling a layer
105105
```python
106-
from felt_python import get_layer_style, update_layer_style
106+
from felt_python import get_layer_details, update_layer_style
107107

108-
current_style = get_layer_style(
108+
current_style = get_layer_details(
109109
map_id=map_id,
110110
layer_id=layer_id,
111-
)
111+
)["style"]
112112
new_style = current_style.copy()
113113
new_style["color"] = "#FF0000"
114114
new_style["size"] = 20

0 commit comments

Comments
 (0)