Richard
02/19/2024, 1:48 PMComposeUIViewController(configure = { opaque = false }) { MapMarker(marker = ..) }
but this would result in the annotation taking full screen, when using viewController.view
and adding that as ViewAnnotation. Using widthAnchor/heightAnchor
on the view and limiting the view to a size I set within my composable works, but is there another way to make the ViewController not use full height, but wrap? Also an iOS colleague looked at me weirdly, because I have like 40 view annotations on the map and having multiple ViewController is bad.
Is there a way to encapsulate a single composable component within UiView that shouts "performance"?
Thanks!