fix missing default modifier for MapView

This commit is contained in:
Alexander Nozik 2024-08-13 16:41:43 +03:00
parent 2d46a0ad98
commit 3ddced5c4a

View File

@ -121,7 +121,7 @@ public fun MapView(
featureStore: FeatureStore<Gmc>,
initialViewPoint: ViewPoint<Gmc>? = null,
initialRectangle: Rectangle<Gmc>? = null,
modifier: Modifier,
modifier: Modifier = Modifier.fillMaxSize(),
) {
val mapState = MapCanvasState.remember(mapTileProvider, config, initialViewPoint, initialRectangle)
MapView(mapState, mapTileProvider, featureStore, modifier)