# fromMap method

CameraPosition fromMap (

1. dynamic json

)

从Map转换成CameraPosition

主要在插件内部使用

## Implementation

    static CameraPosition fromMap(dynamic json) {
      if (json == null) {
        return null;
      }
      return CameraPosition(
        bearing: json['bearing'],
        target: LatLng.fromJson(json['target']),
        tilt: json['tilt'],
        zoom: json['zoom'],
      );
    }