Skip to content

Commit

Permalink
fix pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Feb 4, 2025
1 parent 23cc6b3 commit 28647ca
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,11 @@
}

const nextUrlPath = new URL(nextUrl);
Object.entries(options.queryParameters).forEach(([key, value]) => {
nextUrlPath.searchParams.set(key, value);
});
if (Cesium.defined(options.queryParameters)) {
Object.entries(options.queryParameters).forEach(([key, value]) => {
nextUrlPath.searchParams.set(key, value);
});
}
nextUrlPath.searchParams.set("limit", currentLimit);

const nextPageResource = new Cesium.Resource({
Expand Down

0 comments on commit 28647ca

Please sign in to comment.