Rework publicreport addressing

This adds the ability to link a proper address in the database to the
report and harmonizes the field names with the address table. It also
migrates away from mapbox entirely.

And I fixed the "pool" naming for the publicreports, which are supposed
to be the more generic 'water'.
This commit is contained in:
Eli Ribble 2026-03-09 18:02:22 +00:00
parent 884634a2d7
commit e932c2c473
No known key found for this signature in database
60 changed files with 4511 additions and 5072 deletions

View file

@ -269,7 +269,7 @@ function _formatReportID(id) {
function _formatReportType(type) {
if (type == "nuisance") {
return "Mosquito Nuisance Report";
} else if (type == "pool") {
} else if (type == "water") {
return "Standing Water Report";
} else {
return "Unknown Report Type";

View file

@ -35,7 +35,7 @@ class ReportTable extends HTMLElement {
return "bg-danger";
case "quick":
return "bg-primary";
case "pool":
case "water":
return "bg-success";
default:
return "bg-secondary";