\doxysection{BMKText类 参考}
\hypertarget{interface_b_m_k_text}{}\label{interface_b_m_k_text}\index{BMKText@{BMKText}}


文字覆盖物 since 6.\+5.\+2  




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

类 BMKText 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.702479cm]{interface_b_m_k_text}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_text_a7ea1f2d7fe43d110ecce62c4480398dd}{set\+Circle\+With\+Center\+Coordinate\+:text\+:}}
\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}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}{intersects\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{类方法}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_text_a19af522fe749854b736ccbcfc6fed35f}{text\+With\+Center\+Coordinate\+:text\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected 属性}
\begin{DoxyCompactItemize}
\item 
package CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_text_af492ca7c87f38cd3cb706f0771ca4514}{\+\_\+coordinate}}
\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{interface_b_m_k_text_a956ed654c32bfc509e0378077a651c12}{\+\_\+bounding\+Map\+Rect}}
\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_text_ab5a8fb70ead0f9e9ba41934bcec31dd6}{coordinate}}
\begin{DoxyCompactList}\small\item\em 文字覆盖物中心点坐标 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_text_a32ae505a46665abad15954eba918e6ee}{text}}
\begin{DoxyCompactList}\small\item\em 文字覆盖物文字内容 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_shape}{BMKShape}}}
\begin{DoxyCompactItemize}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_a64da6d2885114c0c2da35aa1ffec925d}{title}}
\begin{DoxyCompactList}\small\item\em 要显示的标题；注意：如果不设置title,无法点击annotation,也无法使用回调函数； \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_ae588ba39a27b52bcaed14d40e6494398}{subtitle}}
\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*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\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{详细描述}
文字覆盖物 since 6.\+5.\+2 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_text_a7ea1f2d7fe43d110ecce62c4480398dd}\label{interface_b_m_k_text_a7ea1f2d7fe43d110ecce62c4480398dd} 
\index{BMKText@{BMKText}!setCircleWithCenterCoordinate:text:@{setCircleWithCenterCoordinate:text:}}
\index{setCircleWithCenterCoordinate:text:@{setCircleWithCenterCoordinate:text:}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{setCircleWithCenterCoordinate:text:}{setCircleWithCenterCoordinate:text:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Circle\+With\+Center\+Coordinate\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D)}]{coord }\item[{text\+:(NSString \texorpdfstring{$\ast$}{*})}]{text }\end{DoxyParamCaption}}

设置文字覆盖物中心点和文本内容 
\begin{DoxyParams}{参数}
{\em coord} & 字覆盖物的地理坐标 \\
\hline
{\em text} & 文字覆盖物文字内容 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_text_a19af522fe749854b736ccbcfc6fed35f}\label{interface_b_m_k_text_a19af522fe749854b736ccbcfc6fed35f} 
\index{BMKText@{BMKText}!textWithCenterCoordinate:text:@{textWithCenterCoordinate:text:}}
\index{textWithCenterCoordinate:text:@{textWithCenterCoordinate:text:}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{textWithCenterCoordinate:text:}{textWithCenterCoordinate:text:}}
{\footnotesize\ttfamily + (nullable instancetype) text\+With\+Center\+Coordinate\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D)}]{coord }\item[{text\+:(NSString \texorpdfstring{$\ast$}{*})}]{text }\end{DoxyParamCaption}}

根据中心点和文本生成文字覆盖物 
\begin{DoxyParams}{参数}
{\em coord} & 文字覆盖物的地理坐标 \\
\hline
{\em text} & 文字覆盖物文字内容 \\
\hline
\end{DoxyParams}


\doxysubsection{类成员变量说明}
\Hypertarget{interface_b_m_k_text_a956ed654c32bfc509e0378077a651c12}\label{interface_b_m_k_text_a956ed654c32bfc509e0378077a651c12} 
\index{BMKText@{BMKText}!\_boundingMapRect@{\_boundingMapRect}}
\index{\_boundingMapRect@{\_boundingMapRect}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{\_boundingMapRect}{\_boundingMapRect}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}) \+\_\+bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{interface_b_m_k_text_af492ca7c87f38cd3cb706f0771ca4514}\label{interface_b_m_k_text_af492ca7c87f38cd3cb706f0771ca4514} 
\index{BMKText@{BMKText}!\_coordinate@{\_coordinate}}
\index{\_coordinate@{\_coordinate}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{\_coordinate}{\_coordinate}}
{\footnotesize\ttfamily -\/ (package CLLocation\+Coordinate2D) \+\_\+coordinate\hspace{0.3cm}{\ttfamily [protected]}}



\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_text_ab5a8fb70ead0f9e9ba41934bcec31dd6}\label{interface_b_m_k_text_ab5a8fb70ead0f9e9ba41934bcec31dd6} 
\index{BMKText@{BMKText}!coordinate@{coordinate}}
\index{coordinate@{coordinate}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{coordinate}{coordinate}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) coordinate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



文字覆盖物中心点坐标 

\Hypertarget{interface_b_m_k_text_a32ae505a46665abad15954eba918e6ee}\label{interface_b_m_k_text_a32ae505a46665abad15954eba918e6ee} 
\index{BMKText@{BMKText}!text@{text}}
\index{text@{text}!BMKText@{BMKText}}
\doxysubsubsection{\texorpdfstring{text}{text}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) text\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



文字覆盖物文字内容 



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