BMFMapStatus.fromMap constructor
- Map map
map => BMFMapStatus
Implementation
BMFMapStatus.fromMap(Map map)
: assert(map != null,
'Construct a BMFMapStatus,The parameter map cannot be null') {
fLevel = map['fLevel'];
fRotation = map['fRotation'];
fOverlooking = map['fOverlooking'];
targetScreenPt = map['targetScreenPt'] == null
? null
: BMFPoint.fromMap(map['targetScreenPt']);
targetGeoPt = map['targetGeoPt'] == null
? null
: BMFCoordinate.fromMap(map['targetGeoPt']);
coordinateBounds = map['visibleMapBounds'] == null
? null
: BMFCoordinateBounds.fromMap(map['visibleMapBounds']);
}