From 68f6776d3a1ed1733720071d4a4899596ac52a56 Mon Sep 17 00:00:00 2001 From: KoalaGeo Date: Tue, 9 May 2023 14:13:19 +0100 Subject: [PATCH] use 200 feature limit --- app/static/js/Leaflet.FeatureGroup.OGCAPI.js | 2 +- app/static/js/map.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/js/Leaflet.FeatureGroup.OGCAPI.js b/app/static/js/Leaflet.FeatureGroup.OGCAPI.js index c2f50d7..7ea0955 100644 --- a/app/static/js/Leaflet.FeatureGroup.OGCAPI.js +++ b/app/static/js/Leaflet.FeatureGroup.OGCAPI.js @@ -40,7 +40,7 @@ L.FeatureGroup.OGCAPI = L.GeoJSON.extend({ * @option limit = 100 * The maximum amount of features to have on the map at any given time. */ - limit: 400, + limit: 200, /** * @option padding: Number = 0.1 diff --git a/app/static/js/map.js b/app/static/js/map.js index 6fc8e62..2b69922 100644 --- a/app/static/js/map.js +++ b/app/static/js/map.js @@ -61,7 +61,7 @@ var agsboreholes = L.featureGroup .ogcApi("https://ogcapi.bgs.ac.uk/", { collection: "agsboreholeindex", pane: "overlays", - limit: 400, + limit: 200, onEachFeature: function (feat, layer) { var properties = feat.properties; var popupContent = "AGS Borehole Information

" +