BMKClusterItem.m 659 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // BMKClusterItem.m
  3. // IphoneMapSdkDemo
  4. //
  5. // Created by wzy on 15/9/15.
  6. // Copyright © 2015年 Baidu. All rights reserved.
  7. //
  8. #import "BMKClusterItem.h"
  9. @implementation BMKClusterItem
  10. @synthesize coor = _coor;
  11. @synthesize title = _title;
  12. @synthesize subTitle = _subTitle;
  13. @end
  14. @implementation BMKCluster
  15. @synthesize coordinate = _coordinate;
  16. @synthesize clusterItems = _clusterItems;
  17. @synthesize title = _title;
  18. @synthesize subTitle = _subTitle;
  19. - (id)init {
  20. self = [super init];
  21. if (self) {
  22. _clusterItems = [[NSMutableArray alloc] init];
  23. }
  24. return self;
  25. }
  26. - (NSUInteger)size {
  27. return _clusterItems.count;
  28. }
  29. @end