MMKCompositeIcon
@interface MMKCompositeIcon : MMKPlacemarkPresentation |
Combines multiple icons into one.
Summary
Instance methods
- (void)setIconWithName:(nonnull NSString *)name |
- (void)setIconWithName:(nonnull NSString *)name |
- (void)setIconStyleWithName:(nonnull NSString *)name |
- (nonnull MMKIcon *)iconWithName:(nonnull NSString *)name; |
- (void)removeIconWithName:(nonnull NSString *)name; |
-Â (void)removeAll; |
Instance methods
setIconWithName:image:style:
- (void)setIconWithName:(nonnull NSString *)name |
Creates or resets a named layer with an icon and its style.
setIconWithName:image:style:callback:
- (void)setIconWithName:(nonnull NSString *)name |
Creates or resets a named layer that contains an icon and its style.
Parameters |
|
onFinished |
Called when an icon is loaded. |
setIconStyleWithName:style:
- (void)setIconStyleWithName:(nonnull NSString *)name |
Changes the icon style for a specific layer.
iconWithName:
- (nonnull MMKIcon *)iconWithName:(nonnull NSString *)name; |
Returns named Icon object that can be used to set icon and its style. Creates an empty Icon if it didn't exist.
removeIconWithName:
- (void)removeIconWithName:(nonnull NSString *)name; |
Removes the named layer.
removeAll
-Â (void)removeAll; |
Removes all layers.