diff --git a/app/src/MapViewComponent.tsx b/app/src/MapViewComponent.tsx index 33ec2d90..2080f046 100644 --- a/app/src/MapViewComponent.tsx +++ b/app/src/MapViewComponent.tsx @@ -34,7 +34,7 @@ const ATTRIBUTION = const FeaturesProperties = (props: { features: MapGeoJSONFeature[] }) => { return ( -
+
{props.features.map((f, i) => (
diff --git a/app/src/index.css b/app/src/index.css index d584044b..f563533f 100644 --- a/app/src/index.css +++ b/app/src/index.css @@ -82,3 +82,8 @@ a { .maplibregl-popup-close-button { color: black; } + +.features-properties { + max-height: 45vh; + overflow-y: scroll; +} diff --git a/tiles/src/main/java/com/protomaps/basemap/Basemap.java b/tiles/src/main/java/com/protomaps/basemap/Basemap.java index f6928fe2..b68f10d2 100644 --- a/tiles/src/main/java/com/protomaps/basemap/Basemap.java +++ b/tiles/src/main/java/com/protomaps/basemap/Basemap.java @@ -134,7 +134,7 @@ static void run(Arguments args) throws Exception { .addShapefileSource("osm_land", sourcesDir.resolve("land-polygons-split-3857.zip"), "https://osmdata.openstreetmap.de/download/land-polygons-split-3857.zip"); - Downloader.create(planetiler.config(), planetiler.stats()).add("ne", neUrl, nePath) + Downloader.create(planetiler.config()).add("ne", neUrl, nePath) .add("qrank", "https://qrank.wmcloud.org/download/qrank.csv.gz", sourcesDir.resolve("qrank.csv.gz")).run(); var tmpDir = nePath.resolveSibling(nePath.getFileName() + "-unzipped");