Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Dec 14, 2024
1 parent e339474 commit 81928d7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docs/examples/getting_started/basic_usage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import webbrowser

from maplibre import Layer, LayerType, Map, MapOptions
from maplibre.sources import GeoJSONSource

Expand All @@ -23,9 +21,4 @@
)
)

temp_file = "/tmp/pymaplibregl.html"

with open(temp_file, "w") as f:
f.write(m.to_html(style="height: 800px;"))

webbrowser.open(temp_file)
m.save(preview=True)

0 comments on commit 81928d7

Please sign in to comment.