Hide plats for our property

This commit is contained in:
Chandler Swift 2024-11-30 12:33:41 -06:00
parent b2a9c1eaf8
commit 30b163de7e
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -60,6 +60,7 @@
}).addTo(map); }).addTo(map);
L.geoJSON(plats, { L.geoJSON(plats, {
filter: feature => !feature.properties.TAO_NAME.toLowerCase().includes("lawrence deer club"),
onEachFeature: function(feature, layer) { onEachFeature: function(feature, layer) {
const latLngs = layer.getLatLngs()[0]; const latLngs = layer.getLatLngs()[0];
const centerish = [ // TODO: actual centroid const centerish = [ // TODO: actual centroid