Skip to content

Commit

Permalink
Increase pagination limit to 500
Browse files Browse the repository at this point in the history
This means less requests are made to the server as we will pull 500 geo location points at a time rather than 100.
  • Loading branch information
DilwoarH committed Oct 18, 2024
1 parent 226d7bd commit 73ffa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/organisations/dataset-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h2 class="govuk-heading-m">Dataset details</h2>
<script>
window.serverContext = {
containerId: 'map',
geoJsonUrl: "https://www.planning.data.gov.uk/entity.geojson?dataset={{ dataset.dataset }}&geometry_curie=statistical-geography:{{ organisation.statistical_geography }}&limit=100",
geoJsonUrl: "https://www.planning.data.gov.uk/entity.geojson?dataset={{ dataset.dataset }}&geometry_curie=statistical-geography:{{ organisation.statistical_geography }}&limit=500",
boundaryGeoJsonUrl: "https://www.planning.data.gov.uk/entity.geojson?dataset=local-planning-authority&geometry_curie=statistical-geography:{{ organisation.statistical_geography }}"
}
</script>
Expand Down

0 comments on commit 73ffa5e

Please sign in to comment.