GeojsonSourceProperties.fromJson constructor

GeojsonSourceProperties.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GeojsonSourceProperties.fromJson(Map<String, dynamic> json) {
  return GeojsonSourceProperties(
    data: json['data'],
    maxzoom: json['maxzoom'],
    attribution: json['attribution'],
    buffer: json['buffer'],
    tolerance: json['tolerance'],
    cluster: json['cluster'],
    clusterRadius: json['clusterRadius'],
    clusterMaxZoom: json['clusterMaxZoom'],
    clusterProperties: json['clusterProperties'],
    lineMetrics: json['lineMetrics'],
    generateId: json['generateId'],
    promoteId: json['promoteId'],
  );
}