NIMKitLocationPoint.h 583 B

1234567891011121314151617181920212223
  1. //
  2. // NIMKitLocationPoint.h
  3. // NIM
  4. //
  5. // Created by chris on 15/2/28.
  6. // Copyright (c) 2015年 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <MapKit/MapKit.h>
  10. @class NIMLocationObject;
  11. @interface NIMKitLocationPoint : NSObject<MKAnnotation>
  12. @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
  13. @property (nonatomic, readonly, copy) NSString *title;
  14. - (instancetype)initWithLocationObject:(NIMLocationObject *)locationObject;
  15. - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate andTitle:(NSString*)title;
  16. @end