The bounding box as [west, south, east, north], or undefined if the section or route is invalid.
Remarks
Three points are fast, but a winding section can stray outside their box. For a tighter box,
pass the section's slice of coordinates as a LineString to bboxFromGeoJSON.
It returns undefined if the route has no coordinates or the section indices are invalid.
Calculates the bounding box for a route section.
It samples the section's coordinates at three points:
startPointIndex.endPointIndex.