FlaneurMapItem

@objc public protocol FlaneurMapItem

The protocol to implement for an object to be able to be displayed on a FlaneurMapViewController instance.

  • The coordinate of the item

    Declaration

    Swift

    var mapItemCoordinate2D: CLLocationCoordinate2D
  • The title to display by the annotation for the item.

    Declaration

    Swift

    var mapItemTitle: String?
  • The address to display by the annotation for the item.

    Declaration

    Swift

    var mapItemAddress: String?
  • The URL of the image to display by the annotation for the item. This property won’t be used if mapItemThumbnailImage is set.

    Declaration

    Swift

    var mapItemThumbnailURL: URL?
  • The image to display by the annotation for the item. This property has priority over mapItemThumbnailURL.

    Declaration

    Swift

    var mapItemThumbnailImage: UIImage?