MMKNavigationBalloonImageProvider

Warning

This feature is available in the NaviKit SDK version.

protocol MMKNavigationBalloonImageProvider : NSObjectProtocol

Summary

Instance methods

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

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

Instance methods

geometriesForBalloon(with:scaleFactor:isNightMode:)

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

returns geometry for all possible anchor placements


createImage(with:anchor:scaleFactor:isNightMode:)

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