MMKPanoramaTextMarker

@interface MMKPanoramaTextMarker : NSObject

Text marker struct

Summary

Class methods

+ (nonnull MMKPanoramaTextMarker *)textMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition
                                                      shortLabel:(nonnull NSString *)shortLabel
                                                       fullLabel:(nonnull NSString *)fullLabel;

Properties

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

@property (nonatomic, readonly, nonnull) NSString *shortLabel;
The text displayed in short mode

@property (nonatomic, readonly, nonnull) NSString *fullLabel;
The text displayed in full mode

Class methods

textMarkerWithAngularPosition:shortLabel:fullLabel:

+ (nonnull MMKPanoramaTextMarker *)textMarkerWithAngularPosition:(nonnull MMKDirection *)angularPosition
                                                      shortLabel:(nonnull NSString *)shortLabel
                                                       fullLabel:(nonnull NSString *)fullLabel;


Properties

angularPosition

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

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


shortLabel

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

The text displayed in short mode. For example, a house name '14b'


fullLabel

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

The text displayed in full mode. For example, street name + house name 'Lesnaya ul. 14b'