in Sources/AmplifyMapLibreUI/MGLMapViewWrapper/_MGLMapViewWrapper+Coordinator.swift [33:41]
func mapView(_ mapView: MGLMapView, didFinishLoading style: MGLStyle) {
if let source = style.sources.first as? MGLVectorTileSource {
let attribution = source.attributionInfos.first
control.attribution = attribution?.title.string ?? ""
}
setupRenderingLayers(for: style)
setTapRecognizer()
}