feat: Show search radius only if a search center is given and correct zoom level if no location is given
This commit is contained in:
@@ -204,6 +204,7 @@ def search(request):
|
||||
"searched": searched,
|
||||
"adoption_notices_map": AdoptionNotice.get_active_ANs(),
|
||||
"map_center": search.position,
|
||||
"search_center": search.position,
|
||||
"map_pins": [search],
|
||||
"location": search.location,
|
||||
"search_radius": search.max_distance,
|
||||
|
Reference in New Issue
Block a user