\hypertarget{interface_b_m_k_background_road_net_view}{}\doxysection{B\+M\+K\+Background\+Road\+Net\+View类 参考}
\label{interface_b_m_k_background_road_net_view}\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}


{\ttfamily \#import $<$B\+M\+K\+Background\+Road\+Net\+View.\+h$>$}

类 B\+M\+K\+Background\+Road\+Net\+View 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_background_road_net_view}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(void) -\/ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a4245f5fdf1117cd0ac351d16e2658058}{render\+With\+Map\+Status\+:enable3\+D\+:fit\+Scale\+:map\+Screen\+Ext\+Offset\+:}}
\begin{DoxyCompactList}\small\item\em 渲染路网 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{interface_b_m_k_map_view}{B\+M\+K\+Map\+View}} $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_ac5af386eabaf21a58a0c7efbc045ea8f}{mapview}}
\begin{DoxyCompactList}\small\item\em 关联源地图，用于同步数据 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a4e792d37dfe631e8ed03b67b4a455e8e}{need\+Draw\+Road\+Net}}
\begin{DoxyCompactList}\small\item\em 设置路网背景颜色 \end{DoxyCompactList}\item 
U\+I\+Color $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a5e901b33bca037af04b4e93eae4e56cf}{road\+Net\+Color}}
\begin{DoxyCompactList}\small\item\em 设置路网颜色 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_background_road_net_view_ab156cf327f437b0dfd27d6e00505f636}{need\+Draw\+Road\+Traffic}}
\begin{DoxyCompactList}\small\item\em 是否绘制路况，默认\+NO,需配合设置关联mapview的traffic\+Enabled属性为\+Y\+E\+S，否则不生效 \end{DoxyCompactList}\item 
N\+S\+Array$<$ U\+I\+Color $\ast$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a98034fea4c79534b28657148c7b03c9f}{road\+Traffic\+Color}}
\begin{DoxyCompactList}\small\item\em 设置路线路况颜色数组,count必须为5，默认按顺序为未知\+:\#0000F\+F88 畅通：\#50D27\+D88 缓行：\+::\+F\+F\+D04688 拥挤：\+::\+E7211000 严重拥堵：\+::\+B4170\+A00 \end{DoxyCompactList}\item 
B\+O\+OL \mbox{\hyperlink{interface_b_m_k_background_road_net_view_af4770d3675508c21f77f9430c374ea61}{need\+Draw\+Road\+Name}}
\begin{DoxyCompactList}\small\item\em 是否绘制路名，默认\+NO \end{DoxyCompactList}\item 
U\+I\+Font $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a92db7a61d397741fd377b171100a650f}{road\+Name\+Font}}
\begin{DoxyCompactList}\small\item\em 路名字体，默认\mbox{[}U\+I\+Font system\+Font\+Of\+Size\+:10\mbox{]} \end{DoxyCompactList}\item 
U\+I\+Color $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_aee65af6f30b9c8f3bae05b58ec981a31}{road\+Name\+Text\+Color}}
\begin{DoxyCompactList}\small\item\em 路名颜色，默认 black\+Color \end{DoxyCompactList}\item 
U\+I\+Color $\ast$ \mbox{\hyperlink{interface_b_m_k_background_road_net_view_a92c33d31a55c6277630fe44e94939f52}{road\+Name\+Stroke\+Color}}
\begin{DoxyCompactList}\small\item\em 路名描边颜色，默认 white\+Color \end{DoxyCompactList}\item 
C\+G\+Float \mbox{\hyperlink{interface_b_m_k_background_road_net_view_aee2695203df1810cb476a7108a7c885d}{road\+Name\+Stroke\+Width}}
\begin{DoxyCompactList}\small\item\em 路名描边宽度，默认 1.\+0 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{函数文档}
\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a4245f5fdf1117cd0ac351d16e2658058}\label{interface_b_m_k_background_road_net_view_a4245f5fdf1117cd0ac351d16e2658058}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:@{renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:}}
\index{renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:@{renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:}{renderWithMapStatus:enable3D:fitScale:mapScreenExtOffset:}}
{\footnotesize\ttfamily -\/ (void) render\+With\+Map\+Status\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{interface_b_m_k_map_status}{B\+M\+K\+Map\+Status}} $\ast$)}]{mapstatus }\item[{enable3\+D\+:(B\+O\+OL)}]{enable3D }\item[{fit\+Scale\+:(C\+G\+Float)}]{fit\+Scale }\item[{map\+Screen\+Ext\+Offset\+:(C\+G\+Point)}]{map\+Screen\+Ext\+Offset }\end{DoxyParamCaption}}



渲染路网 



\doxysubsection{属性说明}
\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_ac5af386eabaf21a58a0c7efbc045ea8f}\label{interface_b_m_k_background_road_net_view_ac5af386eabaf21a58a0c7efbc045ea8f}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!mapview@{mapview}}
\index{mapview@{mapview}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{mapview}{mapview}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{interface_b_m_k_map_view}{B\+M\+K\+Map\+View}}$\ast$) mapview\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [weak]}}



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

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_af4770d3675508c21f77f9430c374ea61}\label{interface_b_m_k_background_road_net_view_af4770d3675508c21f77f9430c374ea61}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!needDrawRoadName@{needDrawRoadName}}
\index{needDrawRoadName@{needDrawRoadName}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{needDrawRoadName}{needDrawRoadName}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) need\+Draw\+Road\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否绘制路名，默认\+NO 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a4e792d37dfe631e8ed03b67b4a455e8e}\label{interface_b_m_k_background_road_net_view_a4e792d37dfe631e8ed03b67b4a455e8e}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!needDrawRoadNet@{needDrawRoadNet}}
\index{needDrawRoadNet@{needDrawRoadNet}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{needDrawRoadNet}{needDrawRoadNet}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) need\+Draw\+Road\+Net\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



设置路网背景颜色 

是否绘制路网，默认\+Y\+ES \mbox{\Hypertarget{interface_b_m_k_background_road_net_view_ab156cf327f437b0dfd27d6e00505f636}\label{interface_b_m_k_background_road_net_view_ab156cf327f437b0dfd27d6e00505f636}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!needDrawRoadTraffic@{needDrawRoadTraffic}}
\index{needDrawRoadTraffic@{needDrawRoadTraffic}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{needDrawRoadTraffic}{needDrawRoadTraffic}}
{\footnotesize\ttfamily -\/ (B\+O\+OL) need\+Draw\+Road\+Traffic\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



是否绘制路况，默认\+NO,需配合设置关联mapview的traffic\+Enabled属性为\+Y\+E\+S，否则不生效 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a92db7a61d397741fd377b171100a650f}\label{interface_b_m_k_background_road_net_view_a92db7a61d397741fd377b171100a650f}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadNameFont@{roadNameFont}}
\index{roadNameFont@{roadNameFont}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadNameFont}{roadNameFont}}
{\footnotesize\ttfamily -\/ (U\+I\+Font$\ast$) road\+Name\+Font\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路名字体，默认\mbox{[}U\+I\+Font system\+Font\+Of\+Size\+:10\mbox{]} 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a92c33d31a55c6277630fe44e94939f52}\label{interface_b_m_k_background_road_net_view_a92c33d31a55c6277630fe44e94939f52}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadNameStrokeColor@{roadNameStrokeColor}}
\index{roadNameStrokeColor@{roadNameStrokeColor}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadNameStrokeColor}{roadNameStrokeColor}}
{\footnotesize\ttfamily -\/ (U\+I\+Color$\ast$) road\+Name\+Stroke\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路名描边颜色，默认 white\+Color 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_aee2695203df1810cb476a7108a7c885d}\label{interface_b_m_k_background_road_net_view_aee2695203df1810cb476a7108a7c885d}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadNameStrokeWidth@{roadNameStrokeWidth}}
\index{roadNameStrokeWidth@{roadNameStrokeWidth}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadNameStrokeWidth}{roadNameStrokeWidth}}
{\footnotesize\ttfamily -\/ (C\+G\+Float) road\+Name\+Stroke\+Width\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



路名描边宽度，默认 1.\+0 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_aee65af6f30b9c8f3bae05b58ec981a31}\label{interface_b_m_k_background_road_net_view_aee65af6f30b9c8f3bae05b58ec981a31}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadNameTextColor@{roadNameTextColor}}
\index{roadNameTextColor@{roadNameTextColor}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadNameTextColor}{roadNameTextColor}}
{\footnotesize\ttfamily -\/ (U\+I\+Color$\ast$) road\+Name\+Text\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



路名颜色，默认 black\+Color 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a5e901b33bca037af04b4e93eae4e56cf}\label{interface_b_m_k_background_road_net_view_a5e901b33bca037af04b4e93eae4e56cf}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadNetColor@{roadNetColor}}
\index{roadNetColor@{roadNetColor}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadNetColor}{roadNetColor}}
{\footnotesize\ttfamily -\/ (U\+I\+Color$\ast$) road\+Net\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



设置路网颜色 

\mbox{\Hypertarget{interface_b_m_k_background_road_net_view_a98034fea4c79534b28657148c7b03c9f}\label{interface_b_m_k_background_road_net_view_a98034fea4c79534b28657148c7b03c9f}} 
\index{BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}!roadTrafficColor@{roadTrafficColor}}
\index{roadTrafficColor@{roadTrafficColor}!BMKBackgroundRoadNetView@{BMKBackgroundRoadNetView}}
\doxysubsubsection{\texorpdfstring{roadTrafficColor}{roadTrafficColor}}
{\footnotesize\ttfamily -\/ (N\+S\+Array$<$U\+I\+Color $\ast$$>$$\ast$) road\+Traffic\+Color\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [strong]}}



设置路线路况颜色数组,count必须为5，默认按顺序为未知\+:\#0000F\+F88 畅通：\#50D27\+D88 缓行：\+::\+F\+F\+D04688 拥挤：\+::\+E7211000 严重拥堵：\+::\+B4170\+A00 



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