getOptionsMap method
获取设置的定位参数对应的Map
Implementation
Map getOptionsMap() {
return {
"locationInterval": this.locationInterval,
"needAddress": needAddress,
"locationMode": locationMode.index,
"geoLanguage": geoLanguage.index,
"onceLocation": onceLocation,
"pausesLocationUpdatesAutomatically": pausesLocationUpdatesAutomatically,
"desiredAccuracy": desiredAccuracy.index,
'distanceFilter': distanceFilter,
"locationAccuracyAuthorizationMode":
desiredLocationAccuracyAuthorizationMode.index,
"fullAccuracyPurposeKey": fullAccuracyPurposeKey
};
}