getMap method
获取对本类所有变量赋值后的map键值对
Implementation
Map<String, Object?> getMap() {
return {
"coorType": coorType,
"coordType": coordType!.index,
"isNeedAddress": isNeedAddress,
"isNeedAltitude": isNeedAltitude,
"isNeedLocationPoiList": isNeedLocationPoiList,
"isNeedNewVersionRgc": isNeedNewVersionRgc,
"openGps": openGps,
"isNeedLocationDescribe": isNeedLocationDescribe,
"scanspan": scanspan,
"locationMode": locationMode?.index,
"locationPurpose": locationPurpose?.index,
};
}