mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 17:51:39 -05:00
Revert "Revert "Add radius param of 10""
This commit is contained in:
parent
b7fb789f2c
commit
3d01bead20
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class ReverseGeocoding::Places::FetchData
|
|||
end
|
||||
|
||||
def reverse_geocoded_places
|
||||
data = Geocoder.search([place.latitude, place.longitude], limit: 10, distance_sort: true)
|
||||
data = Geocoder.search([place.latitude, place.longitude], limit: 10, distance_sort: true, radius: 10)
|
||||
|
||||
data.reject do |place|
|
||||
place.data['properties']['osm_value'].in?(IGNORED_OSM_VALUES) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue