Class: JNetworkCity
Methods
-
cityByCoordinate(coordinate)
-
通过经纬度获取城市
Parameters:
| Name |
Type |
Description |
coordinate |
|
位置信息 |
Returns:
-
Type
-
*
-
cityById(cityId)
-
通过城市id获取城市
Parameters:
| Name |
Type |
Description |
cityId |
|
|
Returns:
-
Type
-
Object
|
*
-
cityDistrictList(cityId)
-
+
获取地区列表
Parameters:
| Name |
Type |
Description |
cityId |
|
|
Returns:
-
Type
-
Object
|
*
-
cityHotList()
-
获取热门城市列表
Returns:
-
Type
-
Object
|
*
-
cityList()
-
获取城市列表
Returns:
-
Type
-
*
-
cityNeedCoordinate()
-
+
通过经纬度获取城市(通过代理传递)
Returns:
-
Type
-
Object
|
*