Skip to content

Commit

Permalink
use 200 feature limit
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaGeo committed May 9, 2023
1 parent 9d33a74 commit 68f6776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/static/js/Leaflet.FeatureGroup.OGCAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/static/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<b>AGS Borehole Information</b><br><hr>" +
Expand Down

0 comments on commit 68f6776

Please sign in to comment.