get Optimal Routes Center Viewport
Gets the highlighted items optimal center viewport given the user custom input.
Return
The adjusted viewport
Parameters
routes List
Route list to be shown.
view Rc
Screen viewport rectangle where routes should be centered. If empty, the whole viewport is used. The coordinates are relative to view parent screen.