BMFWeatherSearchOption class
开通高级权限: http://lbsyun.baidu.com/apiconsole/fankui#?typeOne=产品需求&typeTwo=高级服务 国内行政区域编码表:https://mapopen-website-wiki.cdn.bcebos.com/cityList/weather_district_id.csv 海外行政区域编码表:https://mapopen-website-wiki.cdn.bcebos.com/cityList/weather_aboard_district_id.xlsx 天气取值对照表:https://mapopen-website-wiki.cdn.bcebos.com/cityList/百度地图天气取值对照表(0410).xlsx
Constructors
- BMFWeatherSearchOption({@required String districtID, BMFCoordinate location, BMFWeatherServerType serverType: BMFWeatherServerType.Default, BMFWeatherDataType dataType: BMFWeatherDataType.Now, BMFLanguageType languageType: BMFLanguageType.Chinese})
- 有参构造
- BMFWeatherSearchOption.fromMap(Map map)
- map => BMFWeatherSearchOption
Properties
- dataType ↔ BMFWeatherDataType
-
可选。请求数据类型,默认:BMFWeatherDataTypeNow
read / write
- districtID ↔ String
-
必选。区县的行政区划编码,和location二选一
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- languageType ↔ BMFLanguageType
-
可选。语言类型,默认中文。目前仅支持海外天气服务行政区划显示英文。
read / write
- location ↔ BMFCoordinate
-
必选。经纬度,高级字段,需要申请高级权限
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serverType ↔ BMFWeatherServerType
-
可选。天气服务类型,默认国内
read / write
Methods
-
fromMap(
Map map) → dynamic - map -> dynamic
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, Object> - model -> map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited