diff --git a/src/shared/services/reverse-geocoder/reverse-geocoder.test.ts b/src/shared/services/reverse-geocoder/reverse-geocoder.test.ts index d24142e5bd..c8e97cd62b 100644 --- a/src/shared/services/reverse-geocoder/reverse-geocoder.test.ts +++ b/src/shared/services/reverse-geocoder/reverse-geocoder.test.ts @@ -17,7 +17,7 @@ describe('formatRequest', () => { it('should format correct without distance', () => { expect(formatRequest('https://base-url', testLocation)).toEqual( - `${result}50` + `${result}30` ) }) diff --git a/src/shared/services/reverse-geocoder/reverse-geocoder.ts b/src/shared/services/reverse-geocoder/reverse-geocoder.ts index 5a0e653557..5904d95405 100644 --- a/src/shared/services/reverse-geocoder/reverse-geocoder.ts +++ b/src/shared/services/reverse-geocoder/reverse-geocoder.ts @@ -17,7 +17,7 @@ export const serviceURL = `${configuration.map.pdok.reverse}?type=adres&rows=1&f export const formatRequest = ( baseUrl: URL | string, wgs84point: LatLngLiteral, - distance = 50 + distance = 30 ) => { const { x, y } = wgs84ToRd(wgs84point) return `${new URL(baseUrl).toString()}&X=${x}&Y=${y}&distance=${distance}`