solve max extent for geovisu