added check for default center and set it if null, also added defaultZoom if set or 4