From 17abd409cf8deab64ee2a4359530e5a0667c73f8 Mon Sep 17 00:00:00 2001 From: Timothy Miller Date: Thu, 26 Dec 2024 10:44:44 -0500 Subject: [PATCH] City of Yes for Housing Opportunity - Move transit layer to appendix I - Add greater Transit Zone - Add parking geographies closes #1215 --- .../tax-lot/intersecting-layers-views.js | 2 +- app/templates/components/layer-palette.hbs | 18 ++- .../tax-lot/intersecting-layers-views.hbs | 22 +-- config/environment.js | 2 + mirage/static-fixtures/layer-groups.js | 8 +- package.json | 2 +- public/layer-groups.json | 132 ++++++++++++++---- tests/acceptance/layer-behavior-tests-test.js | 12 +- yarn.lock | 8 +- 9 files changed, 157 insertions(+), 49 deletions(-) diff --git a/app/components/layer-record-views/tax-lot/intersecting-layers-views.js b/app/components/layer-record-views/tax-lot/intersecting-layers-views.js index 7806d95d..bd533c64 100644 --- a/app/components/layer-record-views/tax-lot/intersecting-layers-views.js +++ b/app/components/layer-record-views/tax-lot/intersecting-layers-views.js @@ -5,7 +5,6 @@ export default class IntersectingLayersViews extends Component { tables = [ 'inclusionary_housing', - 'transitzones', 'fresh_zones', 'waterfront_access_plan', 'coastal_zone_boundary', @@ -15,6 +14,7 @@ export default class IntersectingLayersViews extends Component { 'mandatory_inclusionary_housing', 'e_designations', 'upland_waterfront_areas', + 'transitzones', 'appendixj_designated_mdistricts', ]; } diff --git a/app/templates/components/layer-palette.hbs b/app/templates/components/layer-palette.hbs index 628d9151..b1304ee4 100644 --- a/app/templates/components/layer-palette.hbs +++ b/app/templates/components/layer-palette.hbs @@ -142,9 +142,17 @@ @layerGroup={{this.layerGroups.inclusionary-housing}} @activeTooltip={{zoom-dependent-label this.layerGroups.inclusionary-housing this.zoomWarningLabel this.mainMap.zoom}}/> + data-test-toggle-cho-greater-transit-zone + @layerGroup={{this.layerGroups.cho-greater-transit-zone}} + @activeTooltip={{zoom-dependent-label this.layerGroups.cho-greater-transit-zone this.zoomWarningLabel this.mainMap.zoom}}> + + + + + + {{/if}} - {{#if layers.transitzones}} -
  • - - - Transit Zone - -
  • - {{/if}} {{#if layers.fresh_zones}}
  • {{/if}} + {{#if layers.transitzones}} +
  • + + + Appendix I + +
  • + {{/if}} {{#if layers.appendixj_designated_mdistricts}}