BMKClusterItem.h 941 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // BMKClusterItem.h
  3. // IphoneMapSdkDemo
  4. //
  5. // Created by wzy on 15/9/15.
  6. // Copyright © 2015年 Baidu. All rights reserved.
  7. //
  8. #ifndef BMKClusterItem_h
  9. #define BMKClusterItem_h
  10. #import <Foundation/Foundation.h>
  11. #import <CoreLocation/CoreLocation.h>
  12. /**
  13. * 表示一个标注
  14. */
  15. @interface BMKClusterItem : NSObject
  16. ///经纬度,初始化后,不可修改
  17. @property (nonatomic, assign) CLLocationCoordinate2D coor;
  18. @property (nonatomic, copy) NSDictionary *dataDic;
  19. @end
  20. /**
  21. * 聚合后的标注
  22. */
  23. @interface BMKCluster : NSObject
  24. ///经纬度
  25. @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
  26. ///所包含BMKClusterItem
  27. @property (nonatomic, strong) NSMutableArray *clusterItems;
  28. ///包含BMKClusterItem个数
  29. @property (nonatomic, readonly) NSUInteger size;
  30. @property (nonatomic, copy) NSDictionary *dataDic;
  31. @property (nonatomic, strong) NSMutableArray *dataArr;
  32. @end
  33. #endif /* BMKClusterItem_h */