make adjustMapToBounds for replacePolylines optional

This brings the replacePolylines behavior in line with the replaceMarkers behavior.