BMKClusterItem.m 630 B

12345678910111213141516171819202122232425262728293031323334353637
  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 dataDic = _dataDic;
  12. @end
  13. @implementation BMKCluster
  14. @synthesize coordinate = _coordinate;
  15. @synthesize clusterItems = _clusterItems;
  16. @synthesize dataDic = _dataDic;
  17. @synthesize dataArr = _dataArr;
  18. - (id)init {
  19. self = [super init];
  20. if (self) {
  21. _clusterItems = [[NSMutableArray alloc] init];
  22. }
  23. return self;
  24. }
  25. - (NSUInteger)size {
  26. return _clusterItems.count;
  27. }
  28. @end