GoogleMap 可组合占用所有可用屏幕 space

GoogleMap composable taking all available screen space

我希望以下代码在顶部显示地图,在底部显示两个文本字段。相反,地图正在占用所有可用的 space.

Column(
        horizontalAlignment = Alignment.CenterHorizontally,
        verticalArrangement = Arrangement.spacedBy(10.dp),
        modifier = Modifier.fillMaxWidth(),

        ) {
        
        GoogleMap(
            cameraPositionState = cameraPositionState
        ) {
            Marker(
                position = singapore,
                title = "Singapore",
                snippet = "Marker in Singapore"
            )
        }

        TextField(
            value = "",
            onValueChange = {},
            label = { Text(text = "Load Location") },
            modifier = Modifier.fillMaxSize()
        )
        TextField(
            value = "",
            onValueChange = {},
            label = { Text(text = "Unload Location") },
            modifier = Modifier.fillMaxSize()
        )
    }

听说过 weight 修饰符吗?