HeatmapLayerProperties.fromJson constructor

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

Implementation

factory HeatmapLayerProperties.fromJson(Map<String, dynamic> json) {
  return HeatmapLayerProperties(
    heatmapRadius: json['heatmap-radius'],
    heatmapWeight: json['heatmap-weight'],
    heatmapIntensity: json['heatmap-intensity'],
    heatmapColor: json['heatmap-color'],
    heatmapOpacity: json['heatmap-opacity'],
    visibility: json['visibility'],
  );
}