YMKNavigationBalloonImageProvider

Warning

This feature is available in the NaviKit SDK version.

protocol YMKNavigationBalloonImageProvider : NSObjectProtocol

Summary

Instance methods

func geometriesForBalloon(with balloon: YMKBalloon,
                           scaleFactor: Float,
                           isNightMode: Bool) -> [YMKBalloonGeometry]
returns geometry for all possible anchor placements

func createImage(with balloon: YMKBalloon,
                       anchor: YMKBalloonAnchor,
                  scaleFactor: Float,
                  isNightMode: Bool) -> UIImage

Instance methods

geometriesForBalloon(with:scaleFactor:isNightMode:)

func geometriesForBalloon(with balloon: YMKBalloon,
                           scaleFactor: Float,
                           isNightMode: Bool) -> [YMKBalloonGeometry]

returns geometry for all possible anchor placements


createImage(with:anchor:scaleFactor:isNightMode:)

func createImage(with balloon: YMKBalloon,
                       anchor: YMKBalloonAnchor,
                  scaleFactor: Float,
                  isNightMode: Bool) -> UIImage