BMKClusterItem.m 533 B

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