MaplyClusterGroup

Objective-C

@interface MaplyClusterGroup : NSObject

Swift

class MaplyClusterGroup : NSObject

Visual representation for a group of markers.

Fill this in when you’re implementing a MaplyClusterGenerator.

  • The image to use for the group

    Declaration

    Objective-C

    @property (nonatomic, strong) id _Nonnull image;

    Swift

    var image: Any { get set }
  • Screen size to use for the resulting marker

    Declaration

    Objective-C

    @property (nonatomic) CGSize size;

    Swift

    var size: CGSize { get set }
  • Size used for layout. If it’s not set, we use the regular size.

    Declaration

    Objective-C

    @property (nonatomic) CGSize layoutSize;

    Swift

    var layoutSize: CGSize { get set }