MMKPanoramaCompanyMarker

@interface MMKPanoramaCompanyMarker : NSObject

Company marker struct

Summary

Class methods

+ (nonnull MMKPanoramaCompanyMarker *)companyMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition
                                                                 label:(nonnull NSString *)label
                                                                iconId:(nonnull NSString *)iconId
                                                             permalink:(nonnull NSString *)permalink;

Properties

@property (nonatomic, readonly, nonnull) MMKDirection *angularPosition;
Angular position, degrees

@property (nonatomic, readonly, nonnull) NSString *label;
Displayed label

@property (nonatomic, readonly, nonnull) NSString *iconId;
The company iconId

@property (nonatomic, readonly, nonnull) NSString *permalink;
Permalink is passed as a parameter to the onCompanyTap method

Class methods

+ (nonnull MMKPanoramaCompanyMarker *)companyMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition
                                                                 label:(nonnull NSString *)label
                                                                iconId:(nonnull NSString *)iconId
                                                             permalink:(nonnull NSString *)permalink;


Properties

angularPosition

@property (nonatomic, readonly, nonnull) MMKDirection *angularPosition;

Angular position, degrees. (bearing, tilt) (0, 0) - (north, horizon)


label

@property (nonatomic, readonly, nonnull) NSString *label;

Displayed label. For example, a company name 'Sweet market'


iconId

@property (nonatomic, readonly, nonnull) NSString *iconId;

The company iconId. The iconId is passed as a parameter to the IconImageFactory and IconUrlProvider


@property (nonatomic, readonly, nonnull) NSString *permalink;

Permalink is passed as a parameter to the onCompanyTap method.