Hi there I have an issue that I cannot solve and was looking for help
I have two sets of coordinates that I want to show on a map that will zoom to show both points on the edge of the map with some padding. I drop pins at theses points they could be a mile apart or 100 miles apart.
I have calculated the centre point and centred the map on this point but cannot workout a figure for the span.latitudedelta and span.longitudedelta dependant on the two coordinates.