MMKPlacemarkStyle

@interface MMKPlacemarkStyle : NSObject

Undocumented

Summary

Instance methods

- (void)setArrowModel;
Set the placemark to be an 3D arrow

- (void)setGltfModelWithModel:(nonnull id<MRTDataProviderWithId>)model
                   modelStyle:(nonnull MMKModelStyle *)modelStyle;

The class maintains a strong reference to the object in the 'model' parameter until it (the class) is invalidated

- (void)setImageWithImage:(nonnull UIImage *)image;
Undocumented

- (void)setAnimatedImageWithIconImage:
    (nonnull id<MRTAnimatedImageProvider>)iconImage;

Undocumented

- (void)setIconAnchorWithIconAnchor:(CGPoint)iconAnchor;
Icon anchor, (0, 0) is top left and (1

- (void)setScaleFunctionWithPoints:(nonnull NSArray<NSValue *> *)points;
Piecewise linear scale function

- (void)setMinZoomVisibleWithMinZoom:(nullable NSNumber *)minZoom;
Minimal zoom for placemark to be visible

Properties

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

setArrowModel

- (void)setArrowModel;

Set the placemark to be an 3D arrow. Usable only for user position placemark.


setGltfModelWithModel:modelStyle:

- (void)setGltfModelWithModel:(nonnull id<MRTDataProviderWithId>)model
                   modelStyle:(nonnull MMKModelStyle *)modelStyle;

The class maintains a strong reference to the object in the 'model' parameter until it (the class) is invalidated.


setImageWithImage:

- (void)setImageWithImage:(nonnull UIImage *)image;

Undocumented


setAnimatedImageWithIconImage:

- (void)setAnimatedImageWithIconImage:
    (nonnull id<MRTAnimatedImageProvider>)iconImage;

Undocumented


setIconAnchorWithIconAnchor:

- (void)setIconAnchorWithIconAnchor:(CGPoint)iconAnchor;

Icon anchor, (0, 0) is top left and (1.0, 1.0) is bottom right.


setScaleFunctionWithPoints:

- (void)setScaleFunctionWithPoints:(nonnull NSArray<NSValue *> *)points;

Piecewise linear scale function. See Placemark's scale function.


setMinZoomVisibleWithMinZoom:

- (void)setMinZoomVisibleWithMinZoom:(nullable NSNumber *)minZoom;

Minimal zoom for placemark to be visible.


Properties

valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.