Methods
# static getMappedComplaintData(complaintData) → {Object}
Returns the complaint data formatted for the google-map-react library to produce a heatmap.
Parameters:
Name | Type | Description |
---|---|---|
complaintData |
array | Information about noise complaints and complaints about public inorder |
formatted heatmap data containing the position and graphic settings or an empty Object if complaintData is not available
# static getMappedCrimeData(crimeData) → {Object}
Returns the crime data formatted for the google-map-react library to produce a heatmap.
Parameters:
Name | Type | Description |
---|---|---|
crimeData |
array | Information about crime locations |
formatted heatmap data containing the position and graphic settings or an empty Object if crimeData is not available
# static getMappedRodentData(rodentData) → {Object}
Returns the rodent data formatted for the google-map-react library to produce a heatmap.
Parameters:
Name | Type | Description |
---|---|---|
rodentData |
array | Information about rodent encounter locations |
formatted heatmap data containing the position and graphic settings or an empty Object if rodentData is not available