MapFlyoutCustomViewAdapter Interface

Interface for providing custom views for flyouts, on per-icon basis.
If a null view is returned, the default view with flyout's title and description will be used.

public interface MapFlyout.CustomViewAdapter
{
    @Nullable View getFlyoutView(MapElement mapElement);
}

iOS

typedef UIView* _Nullable (^MSMapFlyoutCustomViewAdapter)(MSMapElement*)

Parameters

MapElement

The map element that the flyout is being invoked on.

See Also