GLMapImageGroup
@interface GLMapImageGroup : GLMapDrawObject
GLMapImageGroup
is a bridge class, to work with GLMap internal representation of image group.
Image groups used to display small set of images for the large number of locations. E.g. 1000 locations on map, but only with 10 different images.
-
Unavailable
GLMapImageGroup should be created with -
[GLMapImageGroup initWithCallback: andDrawOrder:]
Plain -init is disabled
Declaration
Objective-C
- (instancetype _Nonnull)init;
-
Initializes instance of
GLMapImageGroup
Not ifGLMapImageGroup
added to many mapViews miltiple updates can happened at one time ([GLMapImageGroupDataSource startUpdate]
and[GLMapImageGroupDataSource endUpdate]
will be ballanced)Declaration
Objective-C
- (instancetype _Nonnull)initWithCallback: (id<GLMapImageGroupDataSource> _Nonnull)callback andDrawOrder:(int)drawOrder;
-
Starts updating of image group
Declaration
Objective-C
- (void)setNeedsUpdate:(BOOL)updateVariants;
Parameters
updateVariants
if YES image variants will be updated otherwise only images and there positions will be updated