Bounding boxes for views and polyline