From 10a8c520a660924dc8a8952f27ed3f844abff911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Tue, 21 Jul 2026 15:32:44 -0700 Subject: [PATCH 1/2] Limit Christian cross to Christian cemeteries --- historical/historical.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/historical/historical.json b/historical/historical.json index c6d77a8e..59c16867 100644 --- a/historical/historical.json +++ b/historical/historical.json @@ -579,7 +579,19 @@ "source-layer": "landuse_areas", "minzoom": 11, "maxzoom": 24, - "filter": ["==", ["get", "type"], "cemetery"], + "filter": [ + "all", + ["==", ["get", "type"], "cemetery"], + ["==", ["get", "religion"], "christian"], + [ + "!", + [ + "in", + ["get", "denomination"], + ["literal", ["jehovahs_witness", "mormon", "iglesia_ni_cristo"]] + ] + ] + ], "layout": {"visibility": "visible"}, "paint": { "fill-pattern": "cross_space_18px", From b87173e40eab0a49eb7905d50e725116369eb257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Mon, 10 Aug 2026 11:02:55 -0700 Subject: [PATCH 2/2] npm run build --- dist/historical/historical.json | 37 +++++++++++++++++++++++++++++---- dist/ohm.styles.js | 37 +++++++++++++++++++++++++++++---- 2 files changed, 66 insertions(+), 8 deletions(-) diff --git a/dist/historical/historical.json b/dist/historical/historical.json index 97c475a3..1c7b0300 100644 --- a/dist/historical/historical.json +++ b/dist/historical/historical.json @@ -914,12 +914,41 @@ "minzoom": 11, "maxzoom": 24, "filter": [ - "==", + "all", [ - "get", - "type" + "==", + [ + "get", + "type" + ], + "cemetery" + ], + [ + "==", + [ + "get", + "religion" + ], + "christian" ], - "cemetery" + [ + "!", + [ + "in", + [ + "get", + "denomination" + ], + [ + "literal", + [ + "jehovahs_witness", + "mormon", + "iglesia_ni_cristo" + ] + ] + ] + ] ], "layout": { "visibility": "visible" diff --git a/dist/ohm.styles.js b/dist/ohm.styles.js index 52994d4e..cc5041c7 100644 --- a/dist/ohm.styles.js +++ b/dist/ohm.styles.js @@ -917,12 +917,41 @@ ohmVectorStyles = { "minzoom": 11, "maxzoom": 24, "filter": [ - "==", + "all", [ - "get", - "type" + "==", + [ + "get", + "type" + ], + "cemetery" + ], + [ + "==", + [ + "get", + "religion" + ], + "christian" ], - "cemetery" + [ + "!", + [ + "in", + [ + "get", + "denomination" + ], + [ + "literal", + [ + "jehovahs_witness", + "mormon", + "iglesia_ni_cristo" + ] + ] + ] + ] ], "layout": { "visibility": "visible"