how would you go about rendering a custom marker/a...
# compose-ios
c
how would you go about rendering a custom marker/annotation icon on MKMapView instead of the default icons? For example in iOS, we would do this : assign a circle to the content lambda so the circle can be displayed at the given location coordinates
Map(coordinateRegion: $region, annotationItems: locations){ location *in*
MapAnnotation(coordinate: location.coordinate) {
Circle()
.stroke(.red, lineWidth: 3)
.frame(width: 44, height: 44)
}
}
How would one go about doing this in Compose through MKMapView ?