feat: add pin of map center

This commit is contained in:
2025-01-07 14:56:23 +01:00
parent eee4cdf86b
commit 87777cd5a4
3 changed files with 131 additions and 0 deletions

View File

@@ -204,6 +204,7 @@ def search(request):
"searched": searched,
"adoption_notices_map": AdoptionNotice.get_active_ANs(),
"map_center": search.position,
"map_pins": [search],
"location": search.location,
"search_radius": search.max_distance,
"zoom_level": zoom_level_for_radius(search.max_distance)}