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 cfd7054 commit 6a06973Copy full SHA for 6a06973
docs/concepts/controls.md
@@ -7,3 +7,14 @@ Controls are user interface elements that you can add to your map:
7
```
8
9
> See [Controls API](../../api/controls/)
10
+
11
+```python {marimo display_code=True}
12
+import openlayers as ol
13
+from openlayers.basemaps import CartoBasemapLayer
14
15
+m = ol.MapWidget(
16
+ layers=[CartoBasemapLayer()],
17
+ controls=[ol.OverviewMapControl(collapsed=False)]
18
+)
19
+m
20
+```
0 commit comments