\hypertarget{protocol_b_m_k_overlay-p}{}\doxysection{$<$B\+M\+K\+Overlay$>$协议 参考}
\label{protocol_b_m_k_overlay-p}\index{$<$BMKOverlay$>$@{$<$BMKOverlay$>$}}


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




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

类 $<$B\+M\+K\+Overlay$>$ 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12.000000cm]{protocol_b_m_k_overlay-p}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(B\+O\+OL) -\/ \mbox{\hyperlink{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}{intersects\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
C\+L\+Location\+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}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 返回区域外接矩形 \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\doxysubsection{函数文档}
\mbox{\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 -\/ (B\+O\+OL) intersects\+Map\+Rect\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}\hspace{0.3cm}{\ttfamily [optional]}}

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


\doxysubsection{属性说明}
\mbox{\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}{B\+M\+K\+Map\+Rect}}) bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



返回区域外接矩形 

\mbox{\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 -\/ (C\+L\+Location\+Coordinate2D) coordinate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [required]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



返回区域中心坐标. 



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