diff --git a/map/map.html b/map/map.html index 5156d57..7ca0946 100644 --- a/map/map.html +++ b/map/map.html @@ -6,6 +6,7 @@ + PLZ-Karte Deutschland @@ -14,7 +15,7 @@ -
+
diff --git a/map/map.png b/map/map.png index 85de766..fb37416 100644 Binary files a/map/map.png and b/map/map.png differ diff --git a/map/script.py b/map/script.py index 79af7f9..3877387 100644 --- a/map/script.py +++ b/map/script.py @@ -18,7 +18,7 @@ def style(x): # geo_json = json.loads(gpd.read_file("./plz-1stellig.shp", dtype={"plz": str}).to_json()) geo_json = json.loads(open_url("./plz-2stellig.geojson").read()) -m = folium.Map(location=[50.4, 9.6], zoom_start=6) +m = folium.Map(height=937, width=1920, location=[51.16, 10.45], zoom_start=6) folium.GeoJson( geo_json, name="Postleitzahl", diff --git a/map/style.css b/map/style.css new file mode 100644 index 0000000..a297b1c --- /dev/null +++ b/map/style.css @@ -0,0 +1,9 @@ +body { + width: 100vw; + height: 100vh; + overflow: hidden; +} +#folium { + width: 100vw; + height: 100vh; +}