\hypertarget{interface_b_m_k_ground_overlay}{}\doxysection{B\+M\+K\+Ground\+Overlay类 参考}
\label{interface_b_m_k_ground_overlay}\index{BMKGroundOverlay@{BMKGroundOverlay}}


该类用于定义一个图片图层  




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

类 B\+M\+K\+Ground\+Overlay 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.318518cm]{interface_b_m_k_ground_overlay}
\end{center}
\end{figure}
\doxysubsection*{类方法}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_ground_overlay_a7f18fd8a1207920764f1b115f188a64e}{ground\+Overlay\+With\+Position\+:zoom\+Level\+:anchor\+:icon\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_ground_overlay_a46678cd51621c2dc4bb8e20023064e08}{ground\+Overlay\+With\+Bounds\+:icon\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{Public 属性}
\begin{DoxyCompactItemize}
\item 
float \mbox{\hyperlink{interface_b_m_k_ground_overlay_a50468fe4442dab1bbf979aa76995e7ab}{zoom\+Level}}
\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_ground_overlay_a57b4269fc9d464d375ebf6ed578efbf3}{\+\_\+pt}}
\item 
\mbox{\hyperlink{struct_b_m_k_coordinate_bounds}{B\+M\+K\+Coordinate\+Bounds}} \mbox{\hyperlink{interface_b_m_k_ground_overlay_ade8793eddd1b90d8881f0ff1aa694310}{\+\_\+bound}}
\item 
C\+G\+Point \mbox{\hyperlink{interface_b_m_k_ground_overlay_a4e229ae08afde6a8cb5786ed3f3b0e35}{\+\_\+anchor}}
\item 
U\+I\+Image $\ast$ \mbox{\hyperlink{interface_b_m_k_ground_overlay_ad5b9b25bc93b7e05d76cfe0053ac6f18}{\+\_\+icon}}
\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_ground_overlay_a52cc248b8a6ba80374cee89b96b3979c}{is\+Center\+Pt}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_ground_overlay_a99b7330f6eb896adf663b20cfaf0ff3d}{pt}}
\item 
C\+G\+Point \mbox{\hyperlink{interface_b_m_k_ground_overlay_a2601d9c702749c36f3c693cdf6165c75}{anchor}}
\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_ground_overlay_a94f7f1c1e511eb082dec6ce70ffeb8bf}{zoom\+Level}}
\begin{DoxyCompactList}\small\item\em 不损失精度绘制原始图片的地图等级，无默认值 \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_coordinate_bounds}{B\+M\+K\+Coordinate\+Bounds}} \mbox{\hyperlink{interface_b_m_k_ground_overlay_a2cc42179bfa82c4554f1f95c57013daf}{bound}}
\begin{DoxyCompactList}\small\item\em 两种绘制\+Ground\+Overlay的方式之二：绘制的地理区域范围，图片在此区域内合理缩放 \end{DoxyCompactList}\item 
U\+I\+Image $\ast$ \mbox{\hyperlink{interface_b_m_k_ground_overlay_ac6b3c33960c8ae439c387636a27f23a0}{icon}}
\begin{DoxyCompactList}\small\item\em 绘制图片 \end{DoxyCompactList}\item 
G\+Lfloat \mbox{\hyperlink{interface_b_m_k_ground_overlay_ad179c59ea12b8e9db600387d0c873d47}{alpha}}
\begin{DoxyCompactList}\small\item\em 图片纹理透明度,最终透明度 = 纹理透明度 $\ast$ alpha,取值范围为\mbox{[}0.\+0f, 1.\+0f\mbox{]}，默认为1.0f \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{额外继承的成员函数}


\doxysubsection{详细描述}
该类用于定义一个图片图层 

\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a46678cd51621c2dc4bb8e20023064e08}\label{interface_b_m_k_ground_overlay_a46678cd51621c2dc4bb8e20023064e08}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!groundOverlayWithBounds:icon:@{groundOverlayWithBounds:icon:}}
\index{groundOverlayWithBounds:icon:@{groundOverlayWithBounds:icon:}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{groundOverlayWithBounds:icon:}{groundOverlayWithBounds:icon:}}
{\footnotesize\ttfamily + (nullable instancetype) ground\+Overlay\+With\+Bounds\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_coordinate_bounds}{B\+M\+K\+Coordinate\+Bounds}})}]{bounds }\item[{icon\+:(U\+I\+Image $\ast$)}]{icon }\end{DoxyParamCaption}}

根据指定区域生成一个ground\+Overlay 
\begin{DoxyParams}{参数}
{\em bounds} & 指定的经纬度区域 \\
\hline
{\em icon} & 绘制使用的图片 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的ground\+Overlay对象 
\end{DoxyReturn}
\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a7f18fd8a1207920764f1b115f188a64e}\label{interface_b_m_k_ground_overlay_a7f18fd8a1207920764f1b115f188a64e}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!groundOverlayWithPosition:zoomLevel:anchor:icon:@{groundOverlayWithPosition:zoomLevel:anchor:icon:}}
\index{groundOverlayWithPosition:zoomLevel:anchor:icon:@{groundOverlayWithPosition:zoomLevel:anchor:icon:}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{groundOverlayWithPosition:zoomLevel:anchor:icon:}{groundOverlayWithPosition:zoomLevel:anchor:icon:}}
{\footnotesize\ttfamily + (nullable instancetype) ground\+Overlay\+With\+Position\+: \begin{DoxyParamCaption}\item[{(C\+L\+Location\+Coordinate2D)}]{position }\item[{zoom\+Level\+:(C\+G\+Float)}]{zoom\+Level }\item[{anchor\+:(C\+G\+Point)}]{anchor }\item[{icon\+:(U\+I\+Image $\ast$)}]{icon }\end{DoxyParamCaption}}

根据指定经纬度坐标生成一个ground\+Overlay 
\begin{DoxyParams}{参数}
{\em position} & 指定的经纬度坐标 \\
\hline
{\em zoom\+Level} & 不损失精度绘制原始图片的地图等级 \\
\hline
{\em anchor} & 绘制图片的锚点 \\
\hline
{\em icon} & 绘制使用的图片 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的ground\+Overlay对象 
\end{DoxyReturn}


\doxysubsection{类成员变量说明}
\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a4e229ae08afde6a8cb5786ed3f3b0e35}\label{interface_b_m_k_ground_overlay_a4e229ae08afde6a8cb5786ed3f3b0e35}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!\_anchor@{\_anchor}}
\index{\_anchor@{\_anchor}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{\_anchor}{\_anchor}}
{\footnotesize\ttfamily -\/ (C\+G\+Point) \+\_\+anchor}

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_ade8793eddd1b90d8881f0ff1aa694310}\label{interface_b_m_k_ground_overlay_ade8793eddd1b90d8881f0ff1aa694310}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!\_bound@{\_bound}}
\index{\_bound@{\_bound}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{\_bound}{\_bound}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_coordinate_bounds}{B\+M\+K\+Coordinate\+Bounds}}) \+\_\+bound}

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_ad5b9b25bc93b7e05d76cfe0053ac6f18}\label{interface_b_m_k_ground_overlay_ad5b9b25bc93b7e05d76cfe0053ac6f18}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!\_icon@{\_icon}}
\index{\_icon@{\_icon}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{\_icon}{\_icon}}
{\footnotesize\ttfamily -\/ (U\+I\+Image$\ast$) \+\_\+icon}

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a57b4269fc9d464d375ebf6ed578efbf3}\label{interface_b_m_k_ground_overlay_a57b4269fc9d464d375ebf6ed578efbf3}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!\_pt@{\_pt}}
\index{\_pt@{\_pt}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{\_pt}{\_pt}}
{\footnotesize\ttfamily -\/ (C\+L\+Location\+Coordinate2D) \+\_\+pt}

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a52cc248b8a6ba80374cee89b96b3979c}\label{interface_b_m_k_ground_overlay_a52cc248b8a6ba80374cee89b96b3979c}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!isCenterPt@{isCenterPt}}
\index{isCenterPt@{isCenterPt}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{isCenterPt}{isCenterPt}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) is\+Center\+Pt}

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a50468fe4442dab1bbf979aa76995e7ab}\label{interface_b_m_k_ground_overlay_a50468fe4442dab1bbf979aa76995e7ab}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!zoomLevel@{zoomLevel}}
\index{zoomLevel@{zoomLevel}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{zoomLevel}{zoomLevel}}
{\footnotesize\ttfamily -\/ (float) zoom\+Level}



\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_ground_overlay_ad179c59ea12b8e9db600387d0c873d47}\label{interface_b_m_k_ground_overlay_ad179c59ea12b8e9db600387d0c873d47}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!alpha@{alpha}}
\index{alpha@{alpha}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{alpha}{alpha}}
{\footnotesize\ttfamily -\/ (G\+Lfloat) alpha\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



图片纹理透明度,最终透明度 = 纹理透明度 $\ast$ alpha,取值范围为\mbox{[}0.\+0f, 1.\+0f\mbox{]}，默认为1.0f 

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a2601d9c702749c36f3c693cdf6165c75}\label{interface_b_m_k_ground_overlay_a2601d9c702749c36f3c693cdf6165c75}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!anchor@{anchor}}
\index{anchor@{anchor}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{anchor}{anchor}}
{\footnotesize\ttfamily -\/ (C\+G\+Point) anchor\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

用位置绘制时图片的锚点，图片左上角为(0.\+0f,0.\+0f),向右向下为正 使用ground\+Overlay\+With\+Position初始化时生效 \mbox{\Hypertarget{interface_b_m_k_ground_overlay_a2cc42179bfa82c4554f1f95c57013daf}\label{interface_b_m_k_ground_overlay_a2cc42179bfa82c4554f1f95c57013daf}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!bound@{bound}}
\index{bound@{bound}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{bound}{bound}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_coordinate_bounds}{B\+M\+K\+Coordinate\+Bounds}}) bound\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



两种绘制\+Ground\+Overlay的方式之二：绘制的地理区域范围，图片在此区域内合理缩放 

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_ac6b3c33960c8ae439c387636a27f23a0}\label{interface_b_m_k_ground_overlay_ac6b3c33960c8ae439c387636a27f23a0}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!icon@{icon}}
\index{icon@{icon}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{icon}{icon}}
{\footnotesize\ttfamily -\/ (U\+I\+Image$\ast$) icon\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



绘制图片 

\mbox{\Hypertarget{interface_b_m_k_ground_overlay_a99b7330f6eb896adf663b20cfaf0ff3d}\label{interface_b_m_k_ground_overlay_a99b7330f6eb896adf663b20cfaf0ff3d}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!pt@{pt}}
\index{pt@{pt}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{pt}{pt}}
{\footnotesize\ttfamily -\/ (C\+L\+Location\+Coordinate2D) pt\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}

两种绘制\+Ground\+Overlay的方式之一：pt、anchor、zoom\+Level 绘制的位置地理坐标，与anchor配对使用 \mbox{\Hypertarget{interface_b_m_k_ground_overlay_a94f7f1c1e511eb082dec6ce70ffeb8bf}\label{interface_b_m_k_ground_overlay_a94f7f1c1e511eb082dec6ce70ffeb8bf}} 
\index{BMKGroundOverlay@{BMKGroundOverlay}!zoomLevel@{zoomLevel}}
\index{zoomLevel@{zoomLevel}!BMKGroundOverlay@{BMKGroundOverlay}}
\doxysubsubsection{\texorpdfstring{zoomLevel}{zoomLevel}}
{\footnotesize\ttfamily -\/ (C\+G\+Float) zoom\+Level\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



不损失精度绘制原始图片的地图等级，无默认值 



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