\hypertarget{interface_b_m_k_annotation_view}{}\doxysection{B\+M\+K\+Annotation\+View类 参考}
\label{interface_b_m_k_annotation_view}\index{BMKAnnotationView@{BMKAnnotationView}}


{\ttfamily \#import $<$B\+M\+K\+Annotation\+View.\+h$>$}

类 B\+M\+K\+Annotation\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{interface_b_m_k_annotation_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_annotation_view_a4eb08cfda8a3e7cd1531da0f2cf3fe18}{init\+With\+Annotation\+:reuse\+Identifier\+:}}
\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_annotation_view_ae74849e624ac0cfaa7695b7cc97ddf23}{prepare\+For\+Reuse}}
\begin{DoxyCompactList}\small\item\em 当view从reuse队列里取出时被调用，默认不做任何事 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_annotation_view_abc0e70812fb7b3bccdbb574ddb578c21}{set\+Selected\+:animated\+:}}
\item 
(B\+O\+OL draggable) -\/ \mbox{\hyperlink{interface_b_m_k_annotation_view_a54d15e7cc4e89d89d2233ec7fc408ad9}{\+\_\+\+\_\+\+O\+S\+X\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+S\+T\+A\+R\+T\+I\+NG}}
\begin{DoxyCompactList}\small\item\em 当设为\+Y\+E\+S并实现了set\+Coordinate\+:方法时，支持将view在地图上拖动, i\+OS 3.\+2以后支持 \end{DoxyCompactList}\item 
(\mbox{\hyperlink{_b_m_k_annotation_view_8h_ab76e4a8280e0f3f9fbb13f3ff3a19130}{B\+M\+K\+Annotation\+View\+Drag\+State}} drag\+State) -\/ \mbox{\hyperlink{interface_b_m_k_annotation_view_a623e818d48c983176a6553104b21a34c}{\+\_\+\+\_\+\+O\+S\+X\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+S\+T\+A\+R\+T\+I\+NG}}
\begin{DoxyCompactList}\small\item\em 当前view的拖动状态, i\+OS 3.\+2以后支持 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
N\+S\+String $\ast$ \mbox{\hyperlink{interface_b_m_k_annotation_view_aba3efdbef49c0301af03ce0d47348358}{reuse\+Identifier}}
\begin{DoxyCompactList}\small\item\em 复用标志 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_action_paopao_view}{B\+M\+K\+Action\+Paopao\+View}} $\ast$ \mbox{\hyperlink{interface_b_m_k_annotation_view_af351c55cfa4b90f2e5090f0503ff699c}{paopao\+View}}
\begin{DoxyCompactList}\small\item\em paopao\+View \end{DoxyCompactList}\item 
id$<$ \mbox{\hyperlink{protocol_b_m_k_annotation-p}{B\+M\+K\+Annotation}} $>$ \mbox{\hyperlink{interface_b_m_k_annotation_view_a466f040671f2235667a4034aba879bb5}{annotation}}
\begin{DoxyCompactList}\small\item\em 关联的annotation \end{DoxyCompactList}\item 
U\+I\+Image $\ast$ \mbox{\hyperlink{interface_b_m_k_annotation_view_a3186f78dcb098002e39fd226cbc1c9b6}{image}}
\begin{DoxyCompactList}\small\item\em annotation view显示的图像 \end{DoxyCompactList}\item 
C\+G\+Point \mbox{\hyperlink{interface_b_m_k_annotation_view_a12a4f32e8adc7732c80d772eb403cd61}{center\+Offset}}
\begin{DoxyCompactList}\small\item\em 默认情况下, annotation view的中心位于annotation的坐标位置，可以设置center\+Offset改变view的位置，正的偏移使view朝右下方移动，负的朝左上方，单位是像素 \end{DoxyCompactList}\item 
C\+G\+Point \mbox{\hyperlink{interface_b_m_k_annotation_view_aacdcb492cbbc469803ba50def87f44e5}{callout\+Offset}}
\begin{DoxyCompactList}\small\item\em 默认情况下, 弹出的气泡位于view正中上方，可以设置callout\+Offset改变view的位置，正的偏移使view朝右下方移动，负的朝左上方，单位是像素 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a18cef771d9b9feeb74a4bc4dd7fba526}{enabled3D}}
\begin{DoxyCompactList}\small\item\em 默认情况下,标注没有3\+D效果，可以设置enabled3\+D改变使用3\+D效果，使得标注在地图旋转和俯视时跟随旋转、俯视 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_ad768885a75146458b4efd168885478fe}{enabled}}
\begin{DoxyCompactList}\small\item\em 默认为\+Y\+ES,当为\+N\+O时view忽略触摸事件 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a09799664ef861651bd7996f0fbab6483}{selected}}
\begin{DoxyCompactList}\small\item\em 默认为\+NO,初始化时设置为\+Y\+E\+S时会默认弹出气泡。\+V5.2.\+0以后版本可以直接设置该值来控制隐藏和弹出气泡，无需调用强制刷新 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_adef94e946f5b152c59be1cdb5eccfb74}{can\+Show\+Callout}}
\begin{DoxyCompactList}\small\item\em 当为\+Y\+E\+S时，view被选中时会弹出气泡，annotation必须实现了title这个方法 \end{DoxyCompactList}\item 
U\+I\+View $\ast$ \mbox{\hyperlink{interface_b_m_k_annotation_view_ae182c0fb7dc1898c4941a123def7f926}{left\+Callout\+Accessory\+View}}
\begin{DoxyCompactList}\small\item\em 显示在气泡左侧的view(使用默认气泡时，view的width最大值为32，height最大值为41，大于则使用最大值） \end{DoxyCompactList}\item 
U\+I\+View $\ast$ \mbox{\hyperlink{interface_b_m_k_annotation_view_a65793288845c27e23233373b3e6b6216}{right\+Callout\+Accessory\+View}}
\begin{DoxyCompactList}\small\item\em 显示在气泡右侧的view(使用默认气泡时，view的width最大值为32，height最大值为41，大于则使用最大值） \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a891e09b1c2a0dd03dafc2e7f9f201d62}{hide\+Paopao\+When\+Single\+Tap\+On\+Map}}
\begin{DoxyCompactList}\small\item\em 当发生单击地图事件时，当前的annotation的泡泡是否隐藏，默认值为\+Y\+E\+S，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a7a9e497b9805e1ebd0b9ab04421d24d4}{hide\+Paopao\+When\+Double\+Tap\+On\+Map}}
\begin{DoxyCompactList}\small\item\em 当发生双击地图事件时，当前的annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a5052e030b3b926f8a57929cae37878c4}{hide\+Paopao\+When\+Two\+Fingers\+Tap\+On\+Map}}
\begin{DoxyCompactList}\small\item\em 当发生两个手指点击地图（缩小地图）事件时，当前的annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_afe64305211817108300e07799e167ffe}{hide\+Paopao\+When\+Select\+Others}}
\begin{DoxyCompactList}\small\item\em 当选中其他annotation时，当前annotation的泡泡是否隐藏，默认值为\+Y\+E\+S，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_abc3eee7e709e0984e625d87bc2b3dee8}{hide\+Paopao\+When\+Drag}}
\begin{DoxyCompactList}\small\item\em 当拖拽当前的annotation时，当前annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a96d006f4f8ee1ccfb85721444113d38d}{hide\+Paopao\+When\+Drag\+Others}}
\begin{DoxyCompactList}\small\item\em 当拖拽其他annotation时，当前annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 \end{DoxyCompactList}\item 
\mbox{\hyperlink{_b_m_k_annotation_view_8h_a54a7a5e0e58d57fd85b6cee6ccdc7352}{B\+M\+K\+Feature\+Display\+Priority}} \mbox{\hyperlink{interface_b_m_k_annotation_view_a2e92d7b764cdcedc773dbcd3fc2823f8}{display\+Priority}}
\item 
float \mbox{\hyperlink{interface_b_m_k_annotation_view_a7e69cb65d001a04ccc21ea560c500e91}{display\+Max\+Level}}
\begin{DoxyCompactList}\small\item\em 需要展示的最大级别，大于此级别则不展示，默认22。\+V6.5.\+0以后支持 \end{DoxyCompactList}\item 
float \mbox{\hyperlink{interface_b_m_k_annotation_view_a5abe930ace5002d2df02a7d250ffcfd3}{display\+Min\+Level}}
\begin{DoxyCompactList}\small\item\em 需要展示的最小级别，小于此级别则不展示，默认4。\+V6.5.\+0以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_ad6a396c6e6e9d696f18e8ac9ab336131}{is\+Open\+Collision\+Detection}}
\begin{DoxyCompactList}\small\item\em 开启碰撞检测，默认\+N\+O，关闭。\+V6.5.\+0以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a5ac291db123408c7333ed5d2d7c839bc}{is\+Open\+Collision\+Detection\+With\+Pao\+Pao\+View}}
\begin{DoxyCompactList}\small\item\em 开启气泡碰撞检测，默认\+N\+O，关闭；且当is\+Open\+Collision\+Detection为\+Y\+E\+S时生效。\+V6.5.\+7以后支持 \end{DoxyCompactList}\item 
N\+S\+Integer \mbox{\hyperlink{interface_b_m_k_annotation_view_af38382b566b94db94c858c614bb57d59}{collision\+Detection\+Priority}}
\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_abc56366b07a97cd0162340d7c0666b70}{is\+Force\+Display}}
\begin{DoxyCompactList}\small\item\em 开启碰撞检测时，是否强制展示，默认\+N\+O。\+V6.5.\+0以后支持 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_annotation_view_a6f6d1e5fa835e2d351f4c5b2b257bcf0}{is\+Open\+Collision\+Detection\+With\+Map\+P\+OI}}
\begin{DoxyCompactList}\small\item\em 是否开启与底图\+P\+O\+I的碰撞检测，默认\+N\+O。仅支持大于15地图显示层级。\+V6.5.\+7以后支持 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
标注view 注意：如果在\+B\+M\+K\+Annotation\+View中添加手势，会覆盖原本的点击和长按事件，不推荐这样使用。 如必须添加，请将手势的delegate设置到\+B\+M\+K\+Annotation\+View中。 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_annotation_view_a54d15e7cc4e89d89d2233ec7fc408ad9}\label{interface_b_m_k_annotation_view_a54d15e7cc4e89d89d2233ec7fc408ad9}} 
\index{BMKAnnotationView@{BMKAnnotationView}!\_\_OSX\_AVAILABLE\_STARTING@{\_\_OSX\_AVAILABLE\_STARTING}}
\index{\_\_OSX\_AVAILABLE\_STARTING@{\_\_OSX\_AVAILABLE\_STARTING}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{\_\_OSX\_AVAILABLE\_STARTING}{\_\_OSX\_AVAILABLE\_STARTING}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily -\/ (B\+O\+OL draggable) \+\_\+\+\_\+\+O\+S\+X\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+S\+T\+A\+R\+T\+I\+NG \begin{DoxyParamCaption}\item[{(\+\_\+\+\_\+\+M\+A\+C\+\_\+\+NA)}]{ }\item[{(\+\_\+\+\_\+\+I\+P\+H\+O\+N\+E\+\_\+3\+\_\+2)}]{ }\end{DoxyParamCaption}}



当设为\+Y\+E\+S并实现了set\+Coordinate\+:方法时，支持将view在地图上拖动, i\+OS 3.\+2以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a623e818d48c983176a6553104b21a34c}\label{interface_b_m_k_annotation_view_a623e818d48c983176a6553104b21a34c}} 
\index{BMKAnnotationView@{BMKAnnotationView}!\_\_OSX\_AVAILABLE\_STARTING@{\_\_OSX\_AVAILABLE\_STARTING}}
\index{\_\_OSX\_AVAILABLE\_STARTING@{\_\_OSX\_AVAILABLE\_STARTING}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{\_\_OSX\_AVAILABLE\_STARTING}{\_\_OSX\_AVAILABLE\_STARTING}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_annotation_view_8h_ab76e4a8280e0f3f9fbb13f3ff3a19130}{B\+M\+K\+Annotation\+View\+Drag\+State}} drag\+State) \+\_\+\+\_\+\+O\+S\+X\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+S\+T\+A\+R\+T\+I\+NG \begin{DoxyParamCaption}\item[{(\+\_\+\+\_\+\+M\+A\+C\+\_\+\+NA)}]{ }\item[{(\+\_\+\+\_\+\+I\+P\+H\+O\+N\+E\+\_\+3\+\_\+2)}]{ }\end{DoxyParamCaption}}



当前view的拖动状态, i\+OS 3.\+2以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a4eb08cfda8a3e7cd1531da0f2cf3fe18}\label{interface_b_m_k_annotation_view_a4eb08cfda8a3e7cd1531da0f2cf3fe18}} 
\index{BMKAnnotationView@{BMKAnnotationView}!initWithAnnotation:reuseIdentifier:@{initWithAnnotation:reuseIdentifier:}}
\index{initWithAnnotation:reuseIdentifier:@{initWithAnnotation:reuseIdentifier:}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{initWithAnnotation:reuseIdentifier:}{initWithAnnotation:reuseIdentifier:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+Annotation\+: \begin{DoxyParamCaption}\item[{(id$<$ \mbox{\hyperlink{protocol_b_m_k_annotation-p}{B\+M\+K\+Annotation}} $>$)}]{annotation }\item[{reuse\+Identifier\+:(N\+S\+String $\ast$)}]{reuse\+Identifier }\end{DoxyParamCaption}}

初始化并返回一个annotation view 
\begin{DoxyParams}{参数}
{\em annotation} & 关联的annotation对象 \\
\hline
{\em reuse\+Identifier} & 如果要重用view,传入一个字符串,否则设为nil,建议重用view \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
初始化成功则返回annotation view,否则返回nil 
\end{DoxyReturn}
\mbox{\Hypertarget{interface_b_m_k_annotation_view_ae74849e624ac0cfaa7695b7cc97ddf23}\label{interface_b_m_k_annotation_view_ae74849e624ac0cfaa7695b7cc97ddf23}} 
\index{BMKAnnotationView@{BMKAnnotationView}!prepareForReuse@{prepareForReuse}}
\index{prepareForReuse@{prepareForReuse}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{prepareForReuse}{prepareForReuse}}
{\footnotesize\ttfamily -\/ (void) prepare\+For\+Reuse \begin{DoxyParamCaption}{ }\end{DoxyParamCaption}}



当view从reuse队列里取出时被调用，默认不做任何事 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_abc0e70812fb7b3bccdbb574ddb578c21}\label{interface_b_m_k_annotation_view_abc0e70812fb7b3bccdbb574ddb578c21}} 
\index{BMKAnnotationView@{BMKAnnotationView}!setSelected:animated:@{setSelected:animated:}}
\index{setSelected:animated:@{setSelected:animated:}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{setSelected:animated:}{setSelected:animated:}}
{\footnotesize\ttfamily -\/ (void) set\+Selected\+: \begin{DoxyParamCaption}\item[{(B\+O\+OL)}]{selected }\item[{animated\+:(B\+O\+OL)}]{animated }\end{DoxyParamCaption}}

设定view的选中状态 该方法被\+B\+M\+K\+Map\+View调用 
\begin{DoxyParams}{参数}
{\em selected} & 如果view需要显示为选中状态，该值为\+Y\+ES \\
\hline
{\em animated} & 如果需要动画效果，该值为\+Y\+ES,暂不支持 \\
\hline
\end{DoxyParams}


\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_annotation_view_a466f040671f2235667a4034aba879bb5}\label{interface_b_m_k_annotation_view_a466f040671f2235667a4034aba879bb5}} 
\index{BMKAnnotationView@{BMKAnnotationView}!annotation@{annotation}}
\index{annotation@{annotation}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{annotation}{annotation}}
{\footnotesize\ttfamily -\/ (id$<$\mbox{\hyperlink{protocol_b_m_k_annotation-p}{B\+M\+K\+Annotation}}$>$) annotation\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



关联的annotation 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_aacdcb492cbbc469803ba50def87f44e5}\label{interface_b_m_k_annotation_view_aacdcb492cbbc469803ba50def87f44e5}} 
\index{BMKAnnotationView@{BMKAnnotationView}!calloutOffset@{calloutOffset}}
\index{calloutOffset@{calloutOffset}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{calloutOffset}{calloutOffset}}
{\footnotesize\ttfamily -\/ (C\+G\+Point) callout\+Offset\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认情况下, 弹出的气泡位于view正中上方，可以设置callout\+Offset改变view的位置，正的偏移使view朝右下方移动，负的朝左上方，单位是像素 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_adef94e946f5b152c59be1cdb5eccfb74}\label{interface_b_m_k_annotation_view_adef94e946f5b152c59be1cdb5eccfb74}} 
\index{BMKAnnotationView@{BMKAnnotationView}!canShowCallout@{canShowCallout}}
\index{canShowCallout@{canShowCallout}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{canShowCallout}{canShowCallout}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) can\+Show\+Callout\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当为\+Y\+E\+S时，view被选中时会弹出气泡，annotation必须实现了title这个方法 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a12a4f32e8adc7732c80d772eb403cd61}\label{interface_b_m_k_annotation_view_a12a4f32e8adc7732c80d772eb403cd61}} 
\index{BMKAnnotationView@{BMKAnnotationView}!centerOffset@{centerOffset}}
\index{centerOffset@{centerOffset}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{centerOffset}{centerOffset}}
{\footnotesize\ttfamily -\/ (C\+G\+Point) center\+Offset\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认情况下, annotation view的中心位于annotation的坐标位置，可以设置center\+Offset改变view的位置，正的偏移使view朝右下方移动，负的朝左上方，单位是像素 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_af38382b566b94db94c858c614bb57d59}\label{interface_b_m_k_annotation_view_af38382b566b94db94c858c614bb57d59}} 
\index{BMKAnnotationView@{BMKAnnotationView}!collisionDetectionPriority@{collisionDetectionPriority}}
\index{collisionDetectionPriority@{collisionDetectionPriority}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{collisionDetectionPriority}{collisionDetectionPriority}}
{\footnotesize\ttfamily -\/ (N\+S\+Integer) collision\+Detection\+Priority\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

碰撞检测优先级，同一优先级后添加的优先展示。\+V6.5.\+0以后支持 默认为0，优先级设置为\+N\+S\+Integer\+Max时将会最优先展示 \mbox{\Hypertarget{interface_b_m_k_annotation_view_a7e69cb65d001a04ccc21ea560c500e91}\label{interface_b_m_k_annotation_view_a7e69cb65d001a04ccc21ea560c500e91}} 
\index{BMKAnnotationView@{BMKAnnotationView}!displayMaxLevel@{displayMaxLevel}}
\index{displayMaxLevel@{displayMaxLevel}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{displayMaxLevel}{displayMaxLevel}}
{\footnotesize\ttfamily -\/ (float) display\+Max\+Level\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



需要展示的最大级别，大于此级别则不展示，默认22。\+V6.5.\+0以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a5abe930ace5002d2df02a7d250ffcfd3}\label{interface_b_m_k_annotation_view_a5abe930ace5002d2df02a7d250ffcfd3}} 
\index{BMKAnnotationView@{BMKAnnotationView}!displayMinLevel@{displayMinLevel}}
\index{displayMinLevel@{displayMinLevel}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{displayMinLevel}{displayMinLevel}}
{\footnotesize\ttfamily -\/ (float) display\+Min\+Level\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



需要展示的最小级别，小于此级别则不展示，默认4。\+V6.5.\+0以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a2e92d7b764cdcedc773dbcd3fc2823f8}\label{interface_b_m_k_annotation_view_a2e92d7b764cdcedc773dbcd3fc2823f8}} 
\index{BMKAnnotationView@{BMKAnnotationView}!displayPriority@{displayPriority}}
\index{displayPriority@{displayPriority}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{displayPriority}{displayPriority}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_annotation_view_8h_a54a7a5e0e58d57fd85b6cee6ccdc7352}{B\+M\+K\+Feature\+Display\+Priority}}) display\+Priority\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

annotation\+View展示优先级，提供三种级别，其他级别开发者可自行设置， 默认值为\+B\+M\+K\+Feature\+Display\+Priority\+Default\+Middle，\+V4.2.\+1以后支持, 级别数值越大越优先展示，同级别按照添加的先后顺序进行覆盖展示。 \mbox{\Hypertarget{interface_b_m_k_annotation_view_ad768885a75146458b4efd168885478fe}\label{interface_b_m_k_annotation_view_ad768885a75146458b4efd168885478fe}} 
\index{BMKAnnotationView@{BMKAnnotationView}!enabled@{enabled}}
\index{enabled@{enabled}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{enabled}{enabled}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) enabled\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认为\+Y\+ES,当为\+N\+O时view忽略触摸事件 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a18cef771d9b9feeb74a4bc4dd7fba526}\label{interface_b_m_k_annotation_view_a18cef771d9b9feeb74a4bc4dd7fba526}} 
\index{BMKAnnotationView@{BMKAnnotationView}!enabled3D@{enabled3D}}
\index{enabled3D@{enabled3D}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{enabled3D}{enabled3D}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) enabled3D\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认情况下,标注没有3\+D效果，可以设置enabled3\+D改变使用3\+D效果，使得标注在地图旋转和俯视时跟随旋转、俯视 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a7a9e497b9805e1ebd0b9ab04421d24d4}\label{interface_b_m_k_annotation_view_a7a9e497b9805e1ebd0b9ab04421d24d4}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenDoubleTapOnMap@{hidePaopaoWhenDoubleTapOnMap}}
\index{hidePaopaoWhenDoubleTapOnMap@{hidePaopaoWhenDoubleTapOnMap}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenDoubleTapOnMap}{hidePaopaoWhenDoubleTapOnMap}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Double\+Tap\+On\+Map\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当发生双击地图事件时，当前的annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_abc3eee7e709e0984e625d87bc2b3dee8}\label{interface_b_m_k_annotation_view_abc3eee7e709e0984e625d87bc2b3dee8}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenDrag@{hidePaopaoWhenDrag}}
\index{hidePaopaoWhenDrag@{hidePaopaoWhenDrag}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenDrag}{hidePaopaoWhenDrag}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Drag\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当拖拽当前的annotation时，当前annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a96d006f4f8ee1ccfb85721444113d38d}\label{interface_b_m_k_annotation_view_a96d006f4f8ee1ccfb85721444113d38d}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenDragOthers@{hidePaopaoWhenDragOthers}}
\index{hidePaopaoWhenDragOthers@{hidePaopaoWhenDragOthers}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenDragOthers}{hidePaopaoWhenDragOthers}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Drag\+Others\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当拖拽其他annotation时，当前annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_afe64305211817108300e07799e167ffe}\label{interface_b_m_k_annotation_view_afe64305211817108300e07799e167ffe}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenSelectOthers@{hidePaopaoWhenSelectOthers}}
\index{hidePaopaoWhenSelectOthers@{hidePaopaoWhenSelectOthers}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenSelectOthers}{hidePaopaoWhenSelectOthers}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Select\+Others\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当选中其他annotation时，当前annotation的泡泡是否隐藏，默认值为\+Y\+E\+S，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a891e09b1c2a0dd03dafc2e7f9f201d62}\label{interface_b_m_k_annotation_view_a891e09b1c2a0dd03dafc2e7f9f201d62}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenSingleTapOnMap@{hidePaopaoWhenSingleTapOnMap}}
\index{hidePaopaoWhenSingleTapOnMap@{hidePaopaoWhenSingleTapOnMap}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenSingleTapOnMap}{hidePaopaoWhenSingleTapOnMap}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Single\+Tap\+On\+Map\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当发生单击地图事件时，当前的annotation的泡泡是否隐藏，默认值为\+Y\+E\+S，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a5052e030b3b926f8a57929cae37878c4}\label{interface_b_m_k_annotation_view_a5052e030b3b926f8a57929cae37878c4}} 
\index{BMKAnnotationView@{BMKAnnotationView}!hidePaopaoWhenTwoFingersTapOnMap@{hidePaopaoWhenTwoFingersTapOnMap}}
\index{hidePaopaoWhenTwoFingersTapOnMap@{hidePaopaoWhenTwoFingersTapOnMap}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{hidePaopaoWhenTwoFingersTapOnMap}{hidePaopaoWhenTwoFingersTapOnMap}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) hide\+Paopao\+When\+Two\+Fingers\+Tap\+On\+Map\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当发生两个手指点击地图（缩小地图）事件时，当前的annotation的泡泡是否隐藏，默认值为\+N\+O，\+V4.2.\+1以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a3186f78dcb098002e39fd226cbc1c9b6}\label{interface_b_m_k_annotation_view_a3186f78dcb098002e39fd226cbc1c9b6}} 
\index{BMKAnnotationView@{BMKAnnotationView}!image@{image}}
\index{image@{image}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{image}{image}}
{\footnotesize\ttfamily -\/ (U\+I\+Image$\ast$) image\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



annotation view显示的图像 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_abc56366b07a97cd0162340d7c0666b70}\label{interface_b_m_k_annotation_view_abc56366b07a97cd0162340d7c0666b70}} 
\index{BMKAnnotationView@{BMKAnnotationView}!isForceDisplay@{isForceDisplay}}
\index{isForceDisplay@{isForceDisplay}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{isForceDisplay}{isForceDisplay}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Force\+Display\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



开启碰撞检测时，是否强制展示，默认\+N\+O。\+V6.5.\+0以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_ad6a396c6e6e9d696f18e8ac9ab336131}\label{interface_b_m_k_annotation_view_ad6a396c6e6e9d696f18e8ac9ab336131}} 
\index{BMKAnnotationView@{BMKAnnotationView}!isOpenCollisionDetection@{isOpenCollisionDetection}}
\index{isOpenCollisionDetection@{isOpenCollisionDetection}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{isOpenCollisionDetection}{isOpenCollisionDetection}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Open\+Collision\+Detection\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



开启碰撞检测，默认\+N\+O，关闭。\+V6.5.\+0以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a6f6d1e5fa835e2d351f4c5b2b257bcf0}\label{interface_b_m_k_annotation_view_a6f6d1e5fa835e2d351f4c5b2b257bcf0}} 
\index{BMKAnnotationView@{BMKAnnotationView}!isOpenCollisionDetectionWithMapPOI@{isOpenCollisionDetectionWithMapPOI}}
\index{isOpenCollisionDetectionWithMapPOI@{isOpenCollisionDetectionWithMapPOI}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{isOpenCollisionDetectionWithMapPOI}{isOpenCollisionDetectionWithMapPOI}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Open\+Collision\+Detection\+With\+Map\+P\+OI\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否开启与底图\+P\+O\+I的碰撞检测，默认\+N\+O。仅支持大于15地图显示层级。\+V6.5.\+7以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a5ac291db123408c7333ed5d2d7c839bc}\label{interface_b_m_k_annotation_view_a5ac291db123408c7333ed5d2d7c839bc}} 
\index{BMKAnnotationView@{BMKAnnotationView}!isOpenCollisionDetectionWithPaoPaoView@{isOpenCollisionDetectionWithPaoPaoView}}
\index{isOpenCollisionDetectionWithPaoPaoView@{isOpenCollisionDetectionWithPaoPaoView}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{isOpenCollisionDetectionWithPaoPaoView}{isOpenCollisionDetectionWithPaoPaoView}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Open\+Collision\+Detection\+With\+Pao\+Pao\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



开启气泡碰撞检测，默认\+N\+O，关闭；且当is\+Open\+Collision\+Detection为\+Y\+E\+S时生效。\+V6.5.\+7以后支持 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_ae182c0fb7dc1898c4941a123def7f926}\label{interface_b_m_k_annotation_view_ae182c0fb7dc1898c4941a123def7f926}} 
\index{BMKAnnotationView@{BMKAnnotationView}!leftCalloutAccessoryView@{leftCalloutAccessoryView}}
\index{leftCalloutAccessoryView@{leftCalloutAccessoryView}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{leftCalloutAccessoryView}{leftCalloutAccessoryView}}
{\footnotesize\ttfamily -\/ (U\+I\+View$\ast$) left\+Callout\+Accessory\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



显示在气泡左侧的view(使用默认气泡时，view的width最大值为32，height最大值为41，大于则使用最大值） 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_af351c55cfa4b90f2e5090f0503ff699c}\label{interface_b_m_k_annotation_view_af351c55cfa4b90f2e5090f0503ff699c}} 
\index{BMKAnnotationView@{BMKAnnotationView}!paopaoView@{paopaoView}}
\index{paopaoView@{paopaoView}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{paopaoView}{paopaoView}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_action_paopao_view}{B\+M\+K\+Action\+Paopao\+View}}$\ast$) paopao\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



paopao\+View 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_aba3efdbef49c0301af03ce0d47348358}\label{interface_b_m_k_annotation_view_aba3efdbef49c0301af03ce0d47348358}} 
\index{BMKAnnotationView@{BMKAnnotationView}!reuseIdentifier@{reuseIdentifier}}
\index{reuseIdentifier@{reuseIdentifier}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{reuseIdentifier}{reuseIdentifier}}
{\footnotesize\ttfamily -\/ (N\+S\+String$\ast$) reuse\+Identifier\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



复用标志 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a65793288845c27e23233373b3e6b6216}\label{interface_b_m_k_annotation_view_a65793288845c27e23233373b3e6b6216}} 
\index{BMKAnnotationView@{BMKAnnotationView}!rightCalloutAccessoryView@{rightCalloutAccessoryView}}
\index{rightCalloutAccessoryView@{rightCalloutAccessoryView}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{rightCalloutAccessoryView}{rightCalloutAccessoryView}}
{\footnotesize\ttfamily -\/ (U\+I\+View$\ast$) right\+Callout\+Accessory\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



显示在气泡右侧的view(使用默认气泡时，view的width最大值为32，height最大值为41，大于则使用最大值） 

\mbox{\Hypertarget{interface_b_m_k_annotation_view_a09799664ef861651bd7996f0fbab6483}\label{interface_b_m_k_annotation_view_a09799664ef861651bd7996f0fbab6483}} 
\index{BMKAnnotationView@{BMKAnnotationView}!selected@{selected}}
\index{selected@{selected}!BMKAnnotationView@{BMKAnnotationView}}
\doxysubsubsection{\texorpdfstring{selected}{selected}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) selected\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



默认为\+NO,初始化时设置为\+Y\+E\+S时会默认弹出气泡。\+V5.2.\+0以后版本可以直接设置该值来控制隐藏和弹出气泡，无需调用强制刷新 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+A\+P\+I\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_annotation_view_8h}{B\+M\+K\+Annotation\+View.\+h}}\end{DoxyCompactItemize}
