Skip to content

Commit

Permalink
Move old examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Jan 21, 2024
1 parent 5011ca9 commit 3b5fb3c
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 20 deletions.
11 changes: 2 additions & 9 deletions examples/airports/marker.py → .examples/airports/marker.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import json

import pandas as pd
from maplibre import (
Layer,
LayerType,
Map,
MapContext,
MapOptions,
output_maplibregl,
render_maplibregl,
)
from maplibre import (Layer, LayerType, Map, MapContext, MapOptions,
output_maplibregl, render_maplibregl)
from maplibre.basemaps import Carto
from maplibre.controls import Marker, MarkerOptions, Popup, PopupOptions
from maplibre.sources import GeoJSONSource
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

import pandas as pd
import shapely
from maplibre import (Layer, LayerType, Map, MapContext, MapOptions,
output_maplibregl, render_maplibregl)
from maplibre import (
Layer,
LayerType,
Map,
MapContext,
MapOptions,
output_maplibregl,
render_maplibregl,
)
from maplibre.basemaps import Carto
from maplibre.utils import df_to_geojson
from shiny import App, reactive, ui
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 2 additions & 9 deletions examples/h3_hexagons/app.py → .examples/h3_hexagons/app.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import h3
import pandas as pd

# import shapely
from maplibre import (
Layer,
LayerType,
Map,
MapContext,
output_maplibregl,
render_maplibregl,
)
from maplibre import (Layer, LayerType, Map, MapContext, output_maplibregl,
render_maplibregl)
from maplibre.basemaps import Carto
from maplibre.utils import GeometryType, df_to_geojson, get_bounds
from shiny import App, reactive, ui
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3b5fb3c

Please sign in to comment.