Skip to content

Commit

Permalink
increase layer limit in views
Browse files Browse the repository at this point in the history
  • Loading branch information
hambsch committed Nov 29, 2024
1 parent f356b3e commit d9a6ba4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/guppy/html/layers.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1>Layer Metadata</h1>
};

async function loadLayers() {
const response = await fetch('$deploy_path$/layers');
const response = await fetch('$deploy_path$/layers?limit=1000');
const layers = await response.json();
const container = document.getElementById('layersList');

Expand Down
2 changes: 1 addition & 1 deletion server/guppy/html/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ <h3>Raster Layers</h3>
MapboxDraw.constants.classes.CONTROL_GROUP = "maplibregl-ctrl-group";

async function fetchLayers() {
const response = await fetch(`$deploy_path$/layers`);
const response = await fetch(`$deploy_path$/layers?limit=1000`);
return response.json();
}

Expand Down

0 comments on commit d9a6ba4

Please sign in to comment.