ifish/Ifish/BMKMap3.3.0/BaiduMapAPI_Map.framework/Headers/BMKAnnotation.h

39 lines
791 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// BMKAnnotation.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
/// 该类为标注点的protocol提供了标注类的基本信息函数
@protocol BMKAnnotation <NSObject>
///标注view中心坐标.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@optional
/**
*获取annotation标题
*@return 返回annotation的标题信息
*/
- (NSString *)title;
/**
*获取annotation副标题
*@return 返回annotation的副标题信息
*/
- (NSString *)subtitle;
/**
*设置标注的坐标,在拖拽时会被调用.
*@param newCoordinate 新的坐标值
*/
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
@end