center basket map on germany if logged out
Closes #740 (closed)
What does this MR do?
Centers the https://foodsharing.de/essenskoerbe/find on Germany and sets the zoom to 6 (similar to /karte
) if not logged in. Also introduces a MapConstants
class for a 'center of germany' coordinate and two zoom levels.
How confident are you it won't break things if deployed?
Very. Does not affect anything else.
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... I don't think a test is necessary -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Chris Oelmueller