in my application i have a MapView.
i want to change the zoom of the map according to the radius the user set. i've found the answer in this link, but the problem is that the function consider only the screen's width.. i want to height to be consider too.
for instance: if i want to see radius of 1km - the function in the link will show me a width of 1km but not a height of 1km.. it is really important for me that it will show it on both width and height even if when height is 1km the width is 1.5km
how can i do it ?