BMFPoiCitySearchOption class

POI城市检索

Constructors

BMFPoiCitySearchOption({@required String keyword, List<String> tags, @required String city, bool isCityLimit: false, BMFPoiSearchScopeType scope: BMFPoiSearchScopeType.BASIC_INFORMATION, BMFPoiSearchFilter filter, int pageIndex: 0, int pageSize: 10})
有参构造
BMFPoiCitySearchOption.fromMap(Map map)
map => BMFPoiCitySearchOption

Properties

city ↔ String
区域名称(市或区的名字,如北京市,海淀区)或区域编码,必选
read / write
filter BMFPoiSearchFilter
检索过滤条件。scope字段为BMFPoiSearchScopeType.DETAIL_INFORMATION时,filter字段才有效
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
isCityLimit ↔ bool
区域数据返回限制,可选,为true时,仅返回city对应区域内数据
read / write
keyword ↔ String
检索关键字,必选。举例:天安门
read / write
pageIndex ↔ int
分页页码,默认为0,0代表第一页,1代表第二页,以此类推
read / write
pageSize ↔ int
单次召回POI数量,默认为10条记录,最大返回20条。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
scope BMFPoiSearchScopeType
检索结果详细程度 默认为BMFPoiSearchScopeType.BASIC_INFORMATION
read / write
tags ↔ List<String>
检索分类,与keyword字段组合进行检索,多个分类以","分隔。举例:美食,酒店
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