diff --git a/assets/src/scripts/web-services/sensor-things.js b/assets/src/scripts/web-services/sensor-things.js index 1db010904d813644e6764ac42f48100c0b7bad56..4dc0bda7582e846895719c2e2a6ed15b18f64b45 100644 --- a/assets/src/scripts/web-services/sensor-things.js +++ b/assets/src/scripts/web-services/sensor-things.js @@ -49,7 +49,7 @@ export const fetchSitesGeoJson = async function(wktPolygon) { const expandQuery = encodeURIComponent('Locations($select=id,location)'); const locationQuery = encodeURIComponent(`st_within(Location/location, geography'${wktPolygon}')`); const url = - `${config.SENSOR_THINGS_ENDPOINT}/Things?$expand=${expandQuery}&$filter=${locationQuery}&$resultFormat=GeoJSON`; + `${config.SENSOR_THINGS_ENDPOINT}/Things?$expand=${expandQuery}&$filter=${locationQuery}&$resultFormat=GeoJSON&$top=1000`; try { const response = await fetch(url, {