\doxysection{\texorpdfstring{$<$}{<}BMKOverlay\texorpdfstring{$>$}{>}协议 参考}
\hypertarget{protocol_b_m_k_overlay-p}{}\label{protocol_b_m_k_overlay-p}\index{$<$BMKOverlay$>$@{$<$BMKOverlay$>$}}


该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类  




{\ttfamily \#include $<$BMKOverlay.\+h$>$}

类 \texorpdfstring{$<$}{<}BMKOverlay\texorpdfstring{$>$}{>} 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{protocol_b_m_k_overlay-p}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}{intersects\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a249e1b880f8ded8541a0fe59ef4abb12}{title}}
\begin{DoxyCompactList}\small\item\em 获取annotation标题 \end{DoxyCompactList}\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a62aea71f4631251330e8a6fc3d3bdf11}{subtitle}}
\begin{DoxyCompactList}\small\item\em 获取annotation副标题 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a86db1788af78d273e1e155d3aa3d978f}{set\+Coordinate\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_overlay-p_a7a10d9dde65c9611e3b5279179a9d480}{coordinate}}
\begin{DoxyCompactList}\small\item\em 返回区域中心坐标. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 返回区域外接矩形 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_annotation-p_ab7ed7fd80fc518acf82cf0048490f9be}{coordinate}}
\begin{DoxyCompactList}\small\item\em 标注view中心坐标. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类 

\doxysubsection{函数文档}
\Hypertarget{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}\label{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21} 
\index{$<$BMKOverlay$>$@{$<$BMKOverlay$>$}!intersectsMapRect:@{intersectsMapRect:}}
\index{intersectsMapRect:@{intersectsMapRect:}!$<$BMKOverlay$>$@{$<$BMKOverlay$>$}}
\doxysubsubsection{\texorpdfstring{intersectsMapRect:}{intersectsMapRect:}}
{\footnotesize\ttfamily -\/ (BOOL) intersects\+Map\+Rect\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

判断指定的矩形是否与本\+Overlay相交，用于更精确的控制overlay view的显示. 默认使用\+BMKMap\+Rect\+Intersects\+Rect(\mbox{[}overlay bounding\+Rect\mbox{]}, map\+Rect)代替. 
\begin{DoxyParams}{参数}
{\em map\+Rect} & 指定的\+BMKMap\+Rect \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相交返回\+YES，否则返回\+NO 
\end{DoxyReturn}


\doxysubsection{属性说明}
\Hypertarget{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0}\label{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0} 
\index{$<$BMKOverlay$>$@{$<$BMKOverlay$>$}!boundingMapRect@{boundingMapRect}}
\index{boundingMapRect@{boundingMapRect}!$<$BMKOverlay$>$@{$<$BMKOverlay$>$}}
\doxysubsubsection{\texorpdfstring{boundingMapRect}{boundingMapRect}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}) bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



返回区域外接矩形 

\Hypertarget{protocol_b_m_k_overlay-p_a7a10d9dde65c9611e3b5279179a9d480}\label{protocol_b_m_k_overlay-p_a7a10d9dde65c9611e3b5279179a9d480} 
\index{$<$BMKOverlay$>$@{$<$BMKOverlay$>$}!coordinate@{coordinate}}
\index{coordinate@{coordinate}!$<$BMKOverlay$>$@{$<$BMKOverlay$>$}}
\doxysubsubsection{\texorpdfstring{coordinate}{coordinate}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) coordinate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [required]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



返回区域中心坐标. 



该协议的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_overlay_8h}{BMKOverlay.\+h}}\end{DoxyCompactItemize}
