Skip to content

Commit

Permalink
Use 'render_maplibregl'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed May 23, 2024
1 parent bc29d5b commit cb8dfa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples/earthquake_clusters/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from maplibre import (
Layer,
LayerType,
Map, # render_maplibregl,
MapLibreRenderer,
Map,
MapOptions,
output_maplibregl,
render_maplibregl,
)
from maplibre.basemaps import Carto
from maplibre.sources import GeoJSONSource
Expand Down Expand Up @@ -89,7 +89,7 @@ def create_map() -> Map:


def server(input, output, session):
@MapLibreRenderer
@render_maplibregl
def maplibre():
return create_map()

Expand Down

0 comments on commit cb8dfa9

Please sign in to comment.