MapKit Mobile SDK

MMKAttribution

class MMKAttribution : NSObject

Details about the source of information.

Summary

Class methods

 init(author: MMKAttributionAuthor?,
        link: MMKAttributionLink?,
 avatarImage: MMKImage?)

Properties

var authorMMKAttributionAuthor? { get }
Additional information about the author

var linkMMKAttributionLink? { get }
Link to a specific page on the author's site

var avatarImageMMKImage? { get }
Optional field, can be nil

Class methods

init(author:link:avatarImage:)

 init(author: MMKAttributionAuthor?,
        link: MMKAttributionLink?,
 avatarImage: MMKImage?)


Properties

author

var author: MMKAttributionAuthor? { get }

Additional information about the author.

Optional field, can be nil.


var link: MMKAttributionLink? { get }

Link to a specific page on the author's site. To link to the website as a whole, use author.uri.

Optional field, can be nil.


avatarImage

var avatarImage: MMKImage? { get }

Optional field, can be nil.