limited geocoder search results to poland

pull/58/head
tomasz t 2022-01-30 12:31:13 +01:00
rodzic 5efd38a933
commit bf5479d0b0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -109,7 +109,7 @@ var geocoder_api = {
let request =
'https://nominatim.openstreetmap.org/search?q=' +
config.query +
'&format=geojson&polygon_geojson=1&addressdetails=1';
'&countrycodes=pl&format=geojson&polygon_geojson=1&addressdetails=1';
const response = await fetch(request);
const geojson = await response.json();
for (let feature of geojson.features) {