persist map center and zoom when changing map types