From 0fbd1c3fca4422bb4fa90164527a3951f481d42e Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 6 Mar 2026 16:42:16 +0000 Subject: [PATCH] Avoid trying to render openmap tiles This changed because I moved to using stadiamaps and maplibre gl --- html/template/rmo/status.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/template/rmo/status.html b/html/template/rmo/status.html index 2ab3406b..cfcb1b1f 100644 --- a/html/template/rmo/status.html +++ b/html/template/rmo/status.html @@ -115,8 +115,9 @@ function onLoad() { function _updateReports() { const nuisances = map.queryRenderedFeatures({target: {layerId: 'nuisance'}}); const pools = map.queryRenderedFeatures({target: {layerId: 'pool'}}); - - const uniqueFeatures = getUniqueFeatures(nuisances, pools, 'public_id'); + const nidus_nuisances = nuisances.filter((feature) => feature.source == "tegola"); + const nidus_pools = pools.filter((feature) => feature.source == "tegola"); + const uniqueFeatures = getUniqueFeatures(nidus_nuisances, nidus_pools, 'public_id'); // Populate features for the listing overlay. renderReports(uniqueFeatures); }