We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a578d94 commit 8b3c961Copy full SHA for 8b3c961
docs/concepts/map.md
@@ -14,6 +14,20 @@ Properties such as _center_, _zoom level_ and _projection_ are managed by the [V
14
-8<-- "concepts/view.py"
15
```
16
17
+```python {marimo display_code=true}
18
+import marimo as mo
19
+import openlayers as ol
20
+
21
+m = ol.MapWidget(ol.View(center=(172.606201, -43.556510), zoom=12))
22
23
+w = mo.ui.anywidget(m)
24
+w
25
+```
26
27
28
+w.value["view_state"]
29
30
31
## Basemaps
32
33
A basemap in openlayers consists of one or more layers from your layer stack:
0 commit comments