Change to compute center and zoom level based on the bounding box of data. Also, change code to perform LatLng conversion once.