MMKPanoramaCompanyMarker
@interface MMKPanoramaCompanyMarker : NSObject |
Company marker struct
Summary
Class methods
+ (nonnull MMKPanoramaCompanyMarker *)companyMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition |
Properties
@property (nonatomic, readonly, nonnull) MMKDirection *angularPosition; |
@property (nonatomic, readonly, nonnull) NSString *label; |
@property (nonatomic, readonly, nonnull) NSString *iconId; |
@property (nonatomic, readonly, nonnull) NSString *permalink; |
Class methods
companyMarkerWithAngularPosition:label:iconId:permalink:
+ (nonnull MMKPanoramaCompanyMarker *)companyMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition |
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
permalink
@property (nonatomic, readonly, nonnull) NSString *permalink; |
Permalink is passed as a parameter to the onCompanyTap method.