\doxysection{BMKURLTile\+Layer类 参考}
\hypertarget{interface_b_m_k_u_r_l_tile_layer}{}\label{interface_b_m_k_u_r_l_tile_layer}\index{BMKURLTileLayer@{BMKURLTileLayer}}


通过提供url模板的方法，提供数据源。不应该继承该类，且必须通过 init\+With\+URLTemplate\+: 来初始化 瓦片图片是jpeg或者png格式，size为256x256  




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

类 BMKURLTile\+Layer 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{interface_b_m_k_u_r_l_tile_layer}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(instancetype) -\/ \mbox{\hyperlink{interface_b_m_k_u_r_l_tile_layer_aee2246bbece7e310e7080bc43b749d69}{init\+With\+URLTemplate\+:}}
\begin{DoxyCompactList}\small\item\em 根据指定的\+URLTemplate生成tile\+Overlay \end{DoxyCompactList}\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_u_r_l_tile_layer_a1c6f118ead416779e63872fab2fce71a}{clean\+Tile\+Data\+Cache}}
\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*{属性}
\begin{DoxyCompactItemize}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_u_r_l_tile_layer_a767a39f93503cfaaef6d46847de61cfc}{URLTemplate}}
\begin{DoxyCompactList}\small\item\em 同init\+With\+URLTemplate\+:中的\+URLTemplate \end{DoxyCompactList}\end{DoxyCompactItemize}
\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{详细描述}
通过提供url模板的方法，提供数据源。不应该继承该类，且必须通过 init\+With\+URLTemplate\+: 来初始化 瓦片图片是jpeg或者png格式，size为256x256 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_u_r_l_tile_layer_a1c6f118ead416779e63872fab2fce71a}\label{interface_b_m_k_u_r_l_tile_layer_a1c6f118ead416779e63872fab2fce71a} 
\index{BMKURLTileLayer@{BMKURLTileLayer}!cleanTileDataCache@{cleanTileDataCache}}
\index{cleanTileDataCache@{cleanTileDataCache}!BMKURLTileLayer@{BMKURLTileLayer}}
\doxysubsubsection{\texorpdfstring{cleanTileDataCache}{cleanTileDataCache}}
{\footnotesize\ttfamily -\/ (BOOL) clean\+Tile\+Data\+Cache \begin{DoxyParamCaption}{ }\end{DoxyParamCaption}}



清除当前瓦片图层缓存图片 

\Hypertarget{interface_b_m_k_u_r_l_tile_layer_aee2246bbece7e310e7080bc43b749d69}\label{interface_b_m_k_u_r_l_tile_layer_aee2246bbece7e310e7080bc43b749d69} 
\index{BMKURLTileLayer@{BMKURLTileLayer}!initWithURLTemplate:@{initWithURLTemplate:}}
\index{initWithURLTemplate:@{initWithURLTemplate:}!BMKURLTileLayer@{BMKURLTileLayer}}
\doxysubsubsection{\texorpdfstring{initWithURLTemplate:}{initWithURLTemplate:}}
{\footnotesize\ttfamily -\/ (instancetype) init\+With\+URLTemplate\+: \begin{DoxyParamCaption}\item[{(NSString \texorpdfstring{$\ast$}{*})}]{URLTemplate }\end{DoxyParamCaption}}



根据指定的\+URLTemplate生成tile\+Overlay 


\begin{DoxyParams}{参数}
{\em URLTemplate} & 是一个包含"{}\{x\}"{},"{}\{y\}"{},"{}\{z\}"{}的字符串,"{}\{x\}"{},"{}\{y\}"{}表示tile的坐标，"{}\{z\}"{}表示当tile显示的级别。"{}\{x\}"{},"{}\{y\}"{},"{}\{z\}"{}会被tile的坐标值所替换，并生成用来加载tile图片数据的\+URL 。例如： \href{http://server/path?x={x}&y={y}&z={z}\%E3\%80\%82}{\texttt{ http\+://server/path?x=\{x\}\&y=\{y\}\&z=\{z\}。}} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
以指定的\+URLTemplate字符串生成tile\+Overlay 
\end{DoxyReturn}


\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_u_r_l_tile_layer_a767a39f93503cfaaef6d46847de61cfc}\label{interface_b_m_k_u_r_l_tile_layer_a767a39f93503cfaaef6d46847de61cfc} 
\index{BMKURLTileLayer@{BMKURLTileLayer}!URLTemplate@{URLTemplate}}
\index{URLTemplate@{URLTemplate}!BMKURLTileLayer@{BMKURLTileLayer}}
\doxysubsubsection{\texorpdfstring{URLTemplate}{URLTemplate}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) URLTemplate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [atomic]}, {\ttfamily [assign]}}



同init\+With\+URLTemplate\+:中的\+URLTemplate 



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