\doxysection{BMKBackground\+Map\+View类 参考}
\hypertarget{interface_b_m_k_background_map_view}{}\label{interface_b_m_k_background_map_view}\index{BMKBackgroundMapView@{BMKBackgroundMapView}}


进入后台或锁屏时的地图渲染\+View，配合后台保活和关联源地图\+BMKMap\+View用于后台投屏，  




{\ttfamily \#include $<$BMKBackground\+Map\+View.\+h$>$}

类 BMKBackground\+Map\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_background_map_view}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_background_map_view_aa2d0aac5de99ba9b40248685681c16bf}{start\+Render}}
\begin{DoxyCompactList}\small\item\em 开始渲染 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_background_map_view_a69c0b2307488f9fa0cbce05d3bd542ae}{stop\+Render}}
\begin{DoxyCompactList}\small\item\em 结束渲染 \end{DoxyCompactList}\item 
(nullable UIImage \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{interface_b_m_k_background_map_view_aadb275595ebf120b9fe1adf6d283d79b}{take\+Snapshot\+:}}
\begin{DoxyCompactList}\small\item\em 截屏 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_map_view}{BMKMap\+View}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_background_map_view_a8ee57ff67b9d21dccaa54a79d15d969f}{mapview}}
\begin{DoxyCompactList}\small\item\em 关联源地图，用于同步数据 \end{DoxyCompactList}\item 
NSInteger \mbox{\hyperlink{interface_b_m_k_background_map_view_a10f410154d6163df9f128eea5a1d56db}{frame\+Rate}}
\begin{DoxyCompactList}\small\item\em 帧率控制，默认30帧/s，范围10～60帧/s \end{DoxyCompactList}\item 
CGPoint \mbox{\hyperlink{interface_b_m_k_background_map_view_a71097b99f5f730904bde2e86bfbf049e}{map\+Screen\+Ext\+Offset}}
\begin{DoxyCompactList}\small\item\em 设置地图额外偏移量,x轴负值向左偏，y轴负值向上偏，默认地图中心点target\+Screen\+Pt，可用于微调小车位置等 \end{DoxyCompactList}\item 
BOOL \mbox{\hyperlink{interface_b_m_k_background_map_view_a455372cd9cb0f162e9cc37c3d7b87450}{enable3D}}
\begin{DoxyCompactList}\small\item\em 3D绘制，默认\+YES \end{DoxyCompactList}\item 
BOOL \mbox{\hyperlink{interface_b_m_k_background_map_view_a1f84f24603c6236b989374f5eff3cb23}{is\+Rendering}}
\begin{DoxyCompactList}\small\item\em 当前是否在渲染 \end{DoxyCompactList}\item 
CGFloat \mbox{\hyperlink{interface_b_m_k_background_map_view_ab41ffbd8c41d11b2bfd247e4a134f33f}{fit\+Scale}}
\begin{DoxyCompactList}\small\item\em 当前适配后缩放比例 \end{DoxyCompactList}\item 
UIView \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_background_map_view_a90d865ebdc8dd4044ed7ecc1f2287493}{background\+View}}
\begin{DoxyCompactList}\small\item\em 获取背景图层,用于自定义背景颜色 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_background_road_net_view}{BMKBackground\+Road\+Net\+View}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_background_map_view_a89bcfb980cddf7a2f1acde101f214c31}{road\+Net\+View}}
\begin{DoxyCompactList}\small\item\em 获取路网图层，用于自定义路网颜色 \end{DoxyCompactList}\item 
\mbox{\hyperlink{interface_b_m_k_background_navigation_view}{BMKBackground\+Navigation\+View}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_background_map_view_a95822f178b3500b4279cda0c11fa74e3}{navigation\+View}}
\item 
\mbox{\hyperlink{_b_m_k_map_view_8h_a2b54deb43cfd24eacb3339e18728fbb0}{BMKLogo\+Position}} \mbox{\hyperlink{interface_b_m_k_background_map_view_a6f676f608c9eaf38c830fd691399a64c}{logo\+Position}}
\begin{DoxyCompactList}\small\item\em logo位置，默认\+BMKLogo\+Position\+Left\+Bottom \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
进入后台或锁屏时的地图渲染\+View，配合后台保活和关联源地图\+BMKMap\+View用于后台投屏， 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_background_map_view_aa2d0aac5de99ba9b40248685681c16bf}\label{interface_b_m_k_background_map_view_aa2d0aac5de99ba9b40248685681c16bf} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!startRender@{startRender}}
\index{startRender@{startRender}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{startRender}{startRender}}
{\footnotesize\ttfamily -\/ (void) start\+Render \begin{DoxyParamCaption}{ }\end{DoxyParamCaption}}



开始渲染 

\Hypertarget{interface_b_m_k_background_map_view_a69c0b2307488f9fa0cbce05d3bd542ae}\label{interface_b_m_k_background_map_view_a69c0b2307488f9fa0cbce05d3bd542ae} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!stopRender@{stopRender}}
\index{stopRender@{stopRender}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{stopRender}{stopRender}}
{\footnotesize\ttfamily -\/ (void) stop\+Render \begin{DoxyParamCaption}{ }\end{DoxyParamCaption}}



结束渲染 

\Hypertarget{interface_b_m_k_background_map_view_aadb275595ebf120b9fe1adf6d283d79b}\label{interface_b_m_k_background_map_view_aadb275595ebf120b9fe1adf6d283d79b} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!takeSnapshot:@{takeSnapshot:}}
\index{takeSnapshot:@{takeSnapshot:}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{takeSnapshot:}{takeSnapshot:}}
{\footnotesize\ttfamily -\/ (nullable UIImage \texorpdfstring{$\ast$}{*}) take\+Snapshot\+: \begin{DoxyParamCaption}\item[{(CGRect)}]{rect }\end{DoxyParamCaption}}



截屏 



\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_background_map_view_a90d865ebdc8dd4044ed7ecc1f2287493}\label{interface_b_m_k_background_map_view_a90d865ebdc8dd4044ed7ecc1f2287493} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!backgroundView@{backgroundView}}
\index{backgroundView@{backgroundView}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{backgroundView}{backgroundView}}
{\footnotesize\ttfamily -\/ (UIView\texorpdfstring{$\ast$}{*}) background\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



获取背景图层,用于自定义背景颜色 

\Hypertarget{interface_b_m_k_background_map_view_a455372cd9cb0f162e9cc37c3d7b87450}\label{interface_b_m_k_background_map_view_a455372cd9cb0f162e9cc37c3d7b87450} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!enable3D@{enable3D}}
\index{enable3D@{enable3D}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{enable3D}{enable3D}}
{\footnotesize\ttfamily -\/ (BOOL) enable3D\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



3D绘制，默认\+YES 

\Hypertarget{interface_b_m_k_background_map_view_ab41ffbd8c41d11b2bfd247e4a134f33f}\label{interface_b_m_k_background_map_view_ab41ffbd8c41d11b2bfd247e4a134f33f} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!fitScale@{fitScale}}
\index{fitScale@{fitScale}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{fitScale}{fitScale}}
{\footnotesize\ttfamily -\/ (CGFloat) fit\+Scale\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当前适配后缩放比例 

\Hypertarget{interface_b_m_k_background_map_view_a10f410154d6163df9f128eea5a1d56db}\label{interface_b_m_k_background_map_view_a10f410154d6163df9f128eea5a1d56db} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!frameRate@{frameRate}}
\index{frameRate@{frameRate}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{frameRate}{frameRate}}
{\footnotesize\ttfamily -\/ (NSInteger) frame\+Rate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



帧率控制，默认30帧/s，范围10～60帧/s 

\Hypertarget{interface_b_m_k_background_map_view_a1f84f24603c6236b989374f5eff3cb23}\label{interface_b_m_k_background_map_view_a1f84f24603c6236b989374f5eff3cb23} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!isRendering@{isRendering}}
\index{isRendering@{isRendering}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{isRendering}{isRendering}}
{\footnotesize\ttfamily -\/ (BOOL) is\+Rendering\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



当前是否在渲染 

\Hypertarget{interface_b_m_k_background_map_view_a6f676f608c9eaf38c830fd691399a64c}\label{interface_b_m_k_background_map_view_a6f676f608c9eaf38c830fd691399a64c} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!logoPosition@{logoPosition}}
\index{logoPosition@{logoPosition}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{logoPosition}{logoPosition}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{_b_m_k_map_view_8h_a2b54deb43cfd24eacb3339e18728fbb0}{BMKLogo\+Position}}) logo\+Position\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



logo位置，默认\+BMKLogo\+Position\+Left\+Bottom 

\Hypertarget{interface_b_m_k_background_map_view_a71097b99f5f730904bde2e86bfbf049e}\label{interface_b_m_k_background_map_view_a71097b99f5f730904bde2e86bfbf049e} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!mapScreenExtOffset@{mapScreenExtOffset}}
\index{mapScreenExtOffset@{mapScreenExtOffset}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{mapScreenExtOffset}{mapScreenExtOffset}}
{\footnotesize\ttfamily -\/ (CGPoint) map\+Screen\+Ext\+Offset\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



设置地图额外偏移量,x轴负值向左偏，y轴负值向上偏，默认地图中心点target\+Screen\+Pt，可用于微调小车位置等 

\Hypertarget{interface_b_m_k_background_map_view_a8ee57ff67b9d21dccaa54a79d15d969f}\label{interface_b_m_k_background_map_view_a8ee57ff67b9d21dccaa54a79d15d969f} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!mapview@{mapview}}
\index{mapview@{mapview}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{mapview}{mapview}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_map_view}{BMKMap\+View}}\texorpdfstring{$\ast$}{*}) mapview\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [weak]}}



关联源地图，用于同步数据 

\Hypertarget{interface_b_m_k_background_map_view_a95822f178b3500b4279cda0c11fa74e3}\label{interface_b_m_k_background_map_view_a95822f178b3500b4279cda0c11fa74e3} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!navigationView@{navigationView}}
\index{navigationView@{navigationView}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{navigationView}{navigationView}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_background_navigation_view}{BMKBackground\+Navigation\+View}}\texorpdfstring{$\ast$}{*}) navigation\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [weak]}}

获取导航图层,用于自定义导航路线宽度，颜色（驾车导航路线路况颜色，走过置灰或擦除，置灰颜色），路线数据更新； 用于自定义导航小车图标及大小，位置方向更新，罗盘是否显示，小车车头是否跟随手机旋转 \Hypertarget{interface_b_m_k_background_map_view_a89bcfb980cddf7a2f1acde101f214c31}\label{interface_b_m_k_background_map_view_a89bcfb980cddf7a2f1acde101f214c31} 
\index{BMKBackgroundMapView@{BMKBackgroundMapView}!roadNetView@{roadNetView}}
\index{roadNetView@{roadNetView}!BMKBackgroundMapView@{BMKBackgroundMapView}}
\doxysubsubsection{\texorpdfstring{roadNetView}{roadNetView}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_background_road_net_view}{BMKBackground\+Road\+Net\+View}}\texorpdfstring{$\ast$}{*}) road\+Net\+View\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



获取路网图层，用于自定义路网颜色 



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