I trace a route on maps, and i need to center the view for see full route.
Now, i get the First position and the last position for found the center. I get the distance in Kilometers and zoom with this value.
The problème is : If the road is too distorted, or a strange shape, it leaves the framing.
Thanx to you..