File tree Expand file tree Collapse file tree 8 files changed +18
-29
lines changed
Expand file tree Collapse file tree 8 files changed +18
-29
lines changed Original file line number Diff line number Diff line change @@ -47,22 +47,4 @@ const style = {
4747
4848> See [ Styles API] ( ../../api/styles/ ) and [ ol/style/flat] ( https://openlayers.org/en/latest/apidoc/module-ol_style_flat.html ) for details.
4949
50- ``` python {marimo display_code=true}
51- import openlayers as ol
52-
53- data = " https://openlayers.org/en/latest/examples/data/geojson/roads-seoul.geojson"
54-
55- vector = ol.VectorLayer(
56- id = " roads" ,
57- source = ol.VectorSource(url = data),
58- fit_bounds = True ,
59- style = ol.FlatStyle(
60- stroke_color = " steelblue" ,
61- stroke_width = 3.5
62- )
63- )
64-
65- m = ol.MapWidget(layers = [ol.BasemapLayer(), vector])
66- m.add_default_tooltip()
67- m
68- ```
50+ <iframe src =" https://marimo.app/l/5a5k2w?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change @@ -17,9 +17,4 @@ m = Map(controls=[ol.ZoomSliderControl()])
1717m.save()
1818```
1919
20- ``` python {marimo display_code=true}
21- import openlayers as ol
22-
23- m = ol.MapWidget(controls = [ol.ZoomSliderControl()])
24- m
25- ```
20+ <iframe src =" https://marimo.app/l/c7os0x?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change 11# Get started
22
3- <iframe src =" https://marimo.app/l/1s4q2r ?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
3+ <iframe src =" https://marimo.app/l/c7os0x ?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change 1+ # GPX vector source
2+
3+ <iframe src =" https://marimo.app/l/rorbhm?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change 1+ # KML vector source
2+
3+ <iframe src =" https://marimo.app/l/byhqa9?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change 1+ # MVT tile source
2+
3+ <iframe src =" https://marimo.app/l/lctvrw?embed=true " width =" 100% " height =700 frameBorder =" 0 " ></iframe >
Original file line number Diff line number Diff line change 1- # Style expressions text
1+ # Style expressions
22
33See also [ style-expressions] ( https://openlayers.org/en/latest/examples/style-expressions.html )
44
Original file line number Diff line number Diff line change 5555 # - Express: api/express.md
5656 - Examples :
5757 - Get started : showcase/get-started.md
58- - Style expressions : showcase/style-expressions.md
59- - Style expressions text : showcase/style-expressions-text.md
58+ # - Style expressions: showcase/style-expressions.md
59+ - Style expressions : showcase/style-expressions-text.md
60+ - GPX vector source : showcase/gpx-vector-source.md
61+ - KML vector source : showcase/kml-vector-source.md
62+ - MVT tile source : showcase/mvt-tile-source.md
6063 # - Icons: showcase/icons.md
6164 - Changelog : changelog.md
You can’t perform that action at this time.
0 commit comments