Loading...
Searching...
No Matches
NCClusterMapObjectController.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import <Foundation/Foundation.h>
4@class NCIconMapObject;
5@protocol NCClusterMapObjectControllerListener;
6
7
25DEFAULT_EXPORT_ATTRIBUTE
26@interface NCClusterMapObjectController : NSObject
27
43- (BOOL)addIconMapObject:(nullable NCIconMapObject *)iconMapObject;
44
60- (BOOL)removeIconMapObject:(nullable NCIconMapObject *)iconMapObject;
61
75- (void)clear;
76
90- (void)setEnabled:(BOOL)enabled;
91
105- (BOOL)isEnabled;
106
120- (void)setRadius:(float)radius;
121
135- (float)getRadius;
136
151- (BOOL)setInteractive:(BOOL)interactive;
152
167- (BOOL)setClusterSize:(float)width
168 height:(float)height;
169
184- (void)addListener:(nullable id<NCClusterMapObjectControllerListener>)listener;
185
200- (void)removeListener:(nullable id<NCClusterMapObjectControllerListener>)listener;
201
215- (nonnull NSArray<NCClusterMapObject *> *)getClusters;
216
217@end