\doxysection{BMKAsync\+Tile\+Layer类 参考}
\hypertarget{interface_b_m_k_async_tile_layer}{}\label{interface_b_m_k_async_tile_layer}\index{BMKAsyncTileLayer@{BMKAsyncTileLayer}}


通过异步方法获取瓦片数据，是一个抽象类，需要通过继承该类，并重载 load\+Tile\+For\+X\+:y\+:zoom\+:result\+: 方法 瓦片图片是jpeg或者png格式，size为256x256  




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

类 BMKAsync\+Tile\+Layer 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{interface_b_m_k_async_tile_layer}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_async_tile_layer_a2daa93376f09a05965dab74e469ca6d9}{load\+Tile\+For\+X\+:y\+:zoom\+:result\+:}}
\begin{DoxyCompactList}\small\item\em 通过异步方法获取瓦片数据，子类必须实现该方法 \end{DoxyCompactList}\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}
\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*{额外继承的成员函数}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_tile_layer}{BMKTile\+Layer}}}
\begin{DoxyCompactItemize}
\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_tile_layer_a31806dcf1e35a53d50fb40f995ea87d9}{min\+Zoom}}
\begin{DoxyCompactList}\small\item\em tile\+Layer的可见最小\+Zoom值，默认3 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_tile_layer_aee6919cb7f36d34eeabf788e17e5ff81}{max\+Zoom}}
\begin{DoxyCompactList}\small\item\em tile\+Layer的可见最大\+Zoom值，默认21，且不能小于min\+Zoom \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{interface_b_m_k_tile_layer_ae03f9090d6e253640e22d9226714f84c}{visible\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em tile\+Overlay的可渲染区域，默认世界范围 \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*{属性 继承自 \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{详细描述}
通过异步方法获取瓦片数据，是一个抽象类，需要通过继承该类，并重载 load\+Tile\+For\+X\+:y\+:zoom\+:result\+: 方法 瓦片图片是jpeg或者png格式，size为256x256 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_async_tile_layer_a2daa93376f09a05965dab74e469ca6d9}\label{interface_b_m_k_async_tile_layer_a2daa93376f09a05965dab74e469ca6d9} 
\index{BMKAsyncTileLayer@{BMKAsyncTileLayer}!loadTileForX:y:zoom:result:@{loadTileForX:y:zoom:result:}}
\index{loadTileForX:y:zoom:result:@{loadTileForX:y:zoom:result:}!BMKAsyncTileLayer@{BMKAsyncTileLayer}}
\doxysubsubsection{\texorpdfstring{loadTileForX:y:zoom:result:}{loadTileForX:y:zoom:result:}}
{\footnotesize\ttfamily -\/ (void) load\+Tile\+For\+X\+: \begin{DoxyParamCaption}\item[{(NSInteger)}]{x }\item[{y\+:(NSInteger)}]{y }\item[{zoom\+:(NSInteger)}]{zoom }\item[{result\+:(void(\texorpdfstring{$^\wedge$}{\string^})(UIImage \texorpdfstring{$\ast$}{*}tile\+Image, NSError \texorpdfstring{$\ast$}{*}error))}]{result }\end{DoxyParamCaption}}



通过异步方法获取瓦片数据，子类必须实现该方法 


\begin{DoxyParams}{参数}
{\em x} & 瓦片坐标 \\
\hline
{\em y} & 瓦片坐标 \\
\hline
{\em zoom} & 瓦片坐标 \\
\hline
{\em result} & 用来传入瓦片数据或加载瓦片失败的error访问的回调block \\
\hline
\end{DoxyParams}


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