diff --git a/docs/examples/earthquake_clusters/app.py b/docs/examples/earthquake_clusters/app.py index ce16e3a0..1342b8ee 100644 --- a/docs/examples/earthquake_clusters/app.py +++ b/docs/examples/earthquake_clusters/app.py @@ -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 @@ -89,7 +89,7 @@ def create_map() -> Map: def server(input, output, session): - @MapLibreRenderer + @render_maplibregl def maplibre(): return create_map()