Description:
Right now, there is a problem with the radius that is given to the backend, from the map. The main issue is that the radius changes based on device (mobile, desktop), as the dimensions, are different.
My idea is the following:
Take the distance from the center to one side (width / 2)
Take the distance from the center to the top (height / 2)
Take the either the minimum of the two, or the average of the two (to have some activities just outside the viewport)
Story Points: 1.5
Description: Right now, there is a problem with the radius that is given to the backend, from the map. The main issue is that the radius changes based on device (mobile, desktop), as the dimensions, are different. My idea is the following: