\doxysection{BMKAddress\+Component类 参考}
\hypertarget{interface_b_m_k_address_component}{}\label{interface_b_m_k_address_component}\index{BMKAddressComponent@{BMKAddressComponent}}


此类表示地址结果的层次化信息  




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

类 BMKAddress\+Component 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_b_m_k_address_component}
\end{center}
\end{figure}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a06479df99f4bf3c669b84645d731af58}{country}}
\begin{DoxyCompactList}\small\item\em 国家 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a849d581c8eaa3447b9aaa1764f7ac85c}{province}}
\begin{DoxyCompactList}\small\item\em 省份名称 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_ad7a30c029e65d37d09d106ca5cb55d1b}{city}}
\begin{DoxyCompactList}\small\item\em 城市名称 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a3bb4c8b38bef483378a4ed4e0ec33aaa}{district}}
\begin{DoxyCompactList}\small\item\em 区县名称 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a0318322488c9b089d921113377243de9}{town}}
\begin{DoxyCompactList}\small\item\em 乡镇 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_afef3697cbdab210a40b85a4d628aa6b8}{street\+Name}}
\begin{DoxyCompactList}\small\item\em 街道名称 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a7a9e0a709b4969472aa1b17a042975c8}{street\+Number}}
\begin{DoxyCompactList}\small\item\em 街道号码 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a31774d4e5f60c7c722220f45fa4bdc32}{ad\+Code}}
\begin{DoxyCompactList}\small\item\em 行政区域编码 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_ad3e7f27c765aedf38a4124c9dc783177}{country\+Code}}
\begin{DoxyCompactList}\small\item\em 国家代码 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_aec571e81d128e52caba8a6d3d5117b69}{country\+Code\+ISO}}
\begin{DoxyCompactList}\small\item\em 国家英文缩写(三位) \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a139db6b22635ac69e856c20b380ec0fd}{country\+Code\+ISO2}}
\begin{DoxyCompactList}\small\item\em 国家英文缩写(俩位) \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_ac7e909addd90e118deb8a29b2f75224e}{town\+Code}}
\begin{DoxyCompactList}\small\item\em 乡镇id \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_acd244a1e1e8b23ad2432e4927084c59b}{city\+Level}}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_a5d0b6230a4c24fb91435971dafc13060}{direction}}
\begin{DoxyCompactList}\small\item\em 相对当前坐标点的方向，当有门牌号的时候返回数据 \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_address_component_aee2edfbe06e3b458c83532f12cdd492a}{distance}}
\begin{DoxyCompactList}\small\item\em 相对当前坐标点的距离，当有门牌号的时候返回数据 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
此类表示地址结果的层次化信息 

\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_address_component_a31774d4e5f60c7c722220f45fa4bdc32}\label{interface_b_m_k_address_component_a31774d4e5f60c7c722220f45fa4bdc32} 
\index{BMKAddressComponent@{BMKAddressComponent}!adCode@{adCode}}
\index{adCode@{adCode}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{adCode}{adCode}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) ad\+Code\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



行政区域编码 

\Hypertarget{interface_b_m_k_address_component_ad7a30c029e65d37d09d106ca5cb55d1b}\label{interface_b_m_k_address_component_ad7a30c029e65d37d09d106ca5cb55d1b} 
\index{BMKAddressComponent@{BMKAddressComponent}!city@{city}}
\index{city@{city}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{city}{city}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) city\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



城市名称 

\Hypertarget{interface_b_m_k_address_component_acd244a1e1e8b23ad2432e4927084c59b}\label{interface_b_m_k_address_component_acd244a1e1e8b23ad2432e4927084c59b} 
\index{BMKAddressComponent@{BMKAddressComponent}!cityLevel@{cityLevel}}
\index{cityLevel@{cityLevel}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{cityLevel}{cityLevel}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) city\+Level\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

城市所在级别 仅国外有参考意义。国外行政区划与中国有差异，城市对应的层级不一定为『city』。country、province、city、district、town分别对应0-\/4级， 若city\+\_\+level=3，则district层级为该国家的city层级 \Hypertarget{interface_b_m_k_address_component_a06479df99f4bf3c669b84645d731af58}\label{interface_b_m_k_address_component_a06479df99f4bf3c669b84645d731af58} 
\index{BMKAddressComponent@{BMKAddressComponent}!country@{country}}
\index{country@{country}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{country}{country}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) country\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



国家 

\Hypertarget{interface_b_m_k_address_component_ad3e7f27c765aedf38a4124c9dc783177}\label{interface_b_m_k_address_component_ad3e7f27c765aedf38a4124c9dc783177} 
\index{BMKAddressComponent@{BMKAddressComponent}!countryCode@{countryCode}}
\index{countryCode@{countryCode}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{countryCode}{countryCode}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) country\+Code\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



国家代码 

\Hypertarget{interface_b_m_k_address_component_aec571e81d128e52caba8a6d3d5117b69}\label{interface_b_m_k_address_component_aec571e81d128e52caba8a6d3d5117b69} 
\index{BMKAddressComponent@{BMKAddressComponent}!countryCodeISO@{countryCodeISO}}
\index{countryCodeISO@{countryCodeISO}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{countryCodeISO}{countryCodeISO}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) country\+Code\+ISO\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



国家英文缩写(三位) 

\Hypertarget{interface_b_m_k_address_component_a139db6b22635ac69e856c20b380ec0fd}\label{interface_b_m_k_address_component_a139db6b22635ac69e856c20b380ec0fd} 
\index{BMKAddressComponent@{BMKAddressComponent}!countryCodeISO2@{countryCodeISO2}}
\index{countryCodeISO2@{countryCodeISO2}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{countryCodeISO2}{countryCodeISO2}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) country\+Code\+ISO2\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



国家英文缩写(俩位) 

\Hypertarget{interface_b_m_k_address_component_a5d0b6230a4c24fb91435971dafc13060}\label{interface_b_m_k_address_component_a5d0b6230a4c24fb91435971dafc13060} 
\index{BMKAddressComponent@{BMKAddressComponent}!direction@{direction}}
\index{direction@{direction}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{direction}{direction}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) direction\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



相对当前坐标点的方向，当有门牌号的时候返回数据 

\Hypertarget{interface_b_m_k_address_component_aee2edfbe06e3b458c83532f12cdd492a}\label{interface_b_m_k_address_component_aee2edfbe06e3b458c83532f12cdd492a} 
\index{BMKAddressComponent@{BMKAddressComponent}!distance@{distance}}
\index{distance@{distance}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{distance}{distance}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) distance\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



相对当前坐标点的距离，当有门牌号的时候返回数据 

\Hypertarget{interface_b_m_k_address_component_a3bb4c8b38bef483378a4ed4e0ec33aaa}\label{interface_b_m_k_address_component_a3bb4c8b38bef483378a4ed4e0ec33aaa} 
\index{BMKAddressComponent@{BMKAddressComponent}!district@{district}}
\index{district@{district}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{district}{district}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) district\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



区县名称 

\Hypertarget{interface_b_m_k_address_component_a849d581c8eaa3447b9aaa1764f7ac85c}\label{interface_b_m_k_address_component_a849d581c8eaa3447b9aaa1764f7ac85c} 
\index{BMKAddressComponent@{BMKAddressComponent}!province@{province}}
\index{province@{province}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{province}{province}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) province\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



省份名称 

\Hypertarget{interface_b_m_k_address_component_afef3697cbdab210a40b85a4d628aa6b8}\label{interface_b_m_k_address_component_afef3697cbdab210a40b85a4d628aa6b8} 
\index{BMKAddressComponent@{BMKAddressComponent}!streetName@{streetName}}
\index{streetName@{streetName}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{streetName}{streetName}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) street\+Name\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



街道名称 

\Hypertarget{interface_b_m_k_address_component_a7a9e0a709b4969472aa1b17a042975c8}\label{interface_b_m_k_address_component_a7a9e0a709b4969472aa1b17a042975c8} 
\index{BMKAddressComponent@{BMKAddressComponent}!streetNumber@{streetNumber}}
\index{streetNumber@{streetNumber}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{streetNumber}{streetNumber}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) street\+Number\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



街道号码 

\Hypertarget{interface_b_m_k_address_component_a0318322488c9b089d921113377243de9}\label{interface_b_m_k_address_component_a0318322488c9b089d921113377243de9} 
\index{BMKAddressComponent@{BMKAddressComponent}!town@{town}}
\index{town@{town}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{town}{town}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) town\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



乡镇 

\Hypertarget{interface_b_m_k_address_component_ac7e909addd90e118deb8a29b2f75224e}\label{interface_b_m_k_address_component_ac7e909addd90e118deb8a29b2f75224e} 
\index{BMKAddressComponent@{BMKAddressComponent}!townCode@{townCode}}
\index{townCode@{townCode}!BMKAddressComponent@{BMKAddressComponent}}
\doxysubsubsection{\texorpdfstring{townCode}{townCode}}
{\footnotesize\ttfamily -\/ (NSString\texorpdfstring{$\ast$}{*}) town\+Code\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}



乡镇id 



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