mbpCardViewDidTapAttribution method
Called when header attribution button is tapped.
Implementation
@override
mbpCardViewDidTapAttribution(
MapboxAdMBPCardView view, MapboxAd mapboxAd) async {
final zoom = await map?.zoom;
if (zoom != null) {
pme?.sendFeedback(id: mapboxAd.id, zoom: zoom, type: 'attribution');
}
final attributionView =
MapboxAdAttributionView(adManager: this, mapboxAd: mapboxAd);
callback?.onAdShowAttribution(attributionView);
}