StayPointAnalysisOption.fromMap constructor
- Map map
map => StayPointAnalysisOption
Implementation
StayPointAnalysisOption.fromMap(Map map)
: assert(map != null,
'Construct a StayPointAnalysisOption,The parameter map cannot be null !'),
super.fromMap(map) {
entityName = map['entityName'];
startTime = map['startTime'];
endTime = map['endTime'];
stayRadius = map['stayRadius'];
processOption = map['processOption'] == null
? null
: QueryTrackProcessOption.fromMap(map['processOption']);
if (map['outputCoordType'] != null) {
int value = map['outputCoordType'] as int;
if (value >= 0 && value <= 2) {
outputCoordType = CoordType.values[value];
}
}
}