Skip to content

Commit e26f780

Browse files
authored
Merge pull request #1217 from NYCPlanning/develop
Housing opportunity
2 parents f04698c + 99f06ef commit e26f780

File tree

9 files changed

+157
-49
lines changed

9 files changed

+157
-49
lines changed

app/components/layer-record-views/tax-lot/intersecting-layers-views.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export default class IntersectingLayersViews extends Component {
55

66
tables = [
77
'inclusionary_housing',
8-
'transitzones',
98
'fresh_zones',
109
'waterfront_access_plan',
1110
'coastal_zone_boundary',
@@ -15,6 +14,7 @@ export default class IntersectingLayersViews extends Component {
1514
'mandatory_inclusionary_housing',
1615
'e_designations',
1716
'upland_waterfront_areas',
17+
'transitzones',
1818
'appendixj_designated_mdistricts',
1919
];
2020
}

app/templates/components/layer-palette.hbs

+15-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,17 @@
142142
@layerGroup={{this.layerGroups.inclusionary-housing}}
143143
@activeTooltip={{zoom-dependent-label this.layerGroups.inclusionary-housing this.zoomWarningLabel this.mainMap.zoom}}/>
144144
<container.layer-group-toggle
145-
data-test-toggle-transit-zones
146-
@layerGroup={{this.layerGroups.transit-zones}}
147-
@activeTooltip={{zoom-dependent-label this.layerGroups.transit-zones this.zoomWarningLabel this.mainMap.zoom}}/>
145+
data-test-toggle-cho-greater-transit-zone
146+
@layerGroup={{this.layerGroups.cho-greater-transit-zone}}
147+
@activeTooltip={{zoom-dependent-label this.layerGroups.cho-greater-transit-zone this.zoomWarningLabel this.mainMap.zoom}}>
148+
<LabsUi::LegendItems @items={{this.layerGroups.cho-greater-transit-zone.legend.items}} />
149+
</container.layer-group-toggle>
150+
<container.layer-group-toggle
151+
data-test-toggle-cho-transit-zones
152+
@layerGroup={{this.layerGroups.cho-transit-zones}}
153+
@activeTooltip={{zoom-dependent-label this.layerGroups.cho-transit-zones this.zoomWarningLabel this.mainMap.zoom}}>
154+
<LabsUi::LegendItems @items={{this.layerGroups.cho-transit-zones.legend.items}} />
155+
</container.layer-group-toggle>
148156
<container.layer-group-toggle
149157
data-test-toggle-fresh
150158
@layerGroup={{this.layerGroups.fresh}}
@@ -214,6 +222,10 @@
214222
@activeTooltip={{zoom-dependent-label this.layerGroups.e-designations this.zoomWarningLabel this.mainMap.zoom}}>
215223
<LabsUi::LegendItem @item={{this.layerGroups.e-designations.legend}} />
216224
</container.layer-group-toggle>
225+
<container.layer-group-toggle
226+
data-test-toggle-transit-zones
227+
@layerGroup={{this.layerGroups.transit-zones}}
228+
@activeTooltip={{zoom-dependent-label this.layerGroups.transit-zones this.zoomWarningLabel this.mainMap.zoom}}/>
217229
<container.layer-group-toggle
218230
data-test-toggle-appendixj-designated-mdistricts
219231
@layerGroup={{this.layerGroups.appendixj-designated-mdistricts}}

app/templates/components/layer-record-views/tax-lot/intersecting-layers-views.hbs

+11-11
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,6 @@
2828
</a>
2929
</li>
3030
{{/if}}
31-
{{#if layers.transitzones}}
32-
<li>
33-
<a
34-
target="_blank"
35-
href="http://www1.nyc.gov/site/planning/zoning/glossary.page#transit_zone" rel="noopener noreferrer"
36-
>
37-
<FaIcon @icon="external-link-alt" @transform="shrink-3 up-1" />
38-
Transit Zone
39-
</a>
40-
</li>
41-
{{/if}}
4231
{{#if layers.fresh_zones}}
4332
<li>
4433
<a
@@ -144,6 +133,17 @@
144133
</a>
145134
</li>
146135
{{/if}}
136+
{{#if layers.transitzones}}
137+
<li>
138+
<a
139+
target="_blank"
140+
href="http://www1.nyc.gov/site/planning/zoning/glossary.page#transit_zone" rel="noopener noreferrer"
141+
>
142+
<FaIcon @icon="external-link-alt" @transform="shrink-3 up-1" />
143+
Appendix I
144+
</a>
145+
</li>
146+
{{/if}}
147147
{{#if layers.appendixj_designated_mdistricts}}
148148
<li>
149149
<a

config/environment.js

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ module.exports = function (environment) {
5151
{ id: 'limited-height-districts', visible: false },
5252
{ id: 'mandatory-inclusionary-housing', visible: false },
5353
{ id: 'inclusionary-housing', visible: false },
54+
{ id: 'cho-greater-transit-zone', visible: false },
55+
{ id: 'cho-transit-zones', visible: false },
5456
{ id: 'transit-zones', visible: false },
5557
{ id: 'fresh', visible: false },
5658
{ id: 'low-density-growth-mgmt-areas', visible: false },

mirage/static-fixtures/layer-groups.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -451,17 +451,17 @@ export default {
451451
id: 'transit-zones',
452452
visible: false,
453453
legend: {
454-
label: 'Transit Zones',
454+
label: 'Appendix I',
455455
tooltip:
456-
'Transit-accessible areas where parking is optional for new affordable housing units and special rules apply to existing affordable units',
456+
'Transit-accessible areas where special streetscape and special parking requirements apply.',
457457
infolink:
458458
'https://www1.nyc.gov/site/planning/zoning/glossary.page#transit_zone',
459459
icon: {
460460
type: 'rectangle',
461461
layers: [
462462
{
463-
fill: 'rgba(230, 214, 46, 0.2)',
464-
stroke: 'rgba(230, 214, 46, 0.6)',
463+
fill: 'rgba(49, 151, 149, 0.2)',
464+
stroke: 'rgba(49, 151, 149, 0.6)',
465465
'stroke-dasharray': '1',
466466
},
467467
],

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@glimmer/component": "^1.1.2",
4242
"@glimmer/tracking": "^1.1.2",
4343
"@mapbox/mapbox-gl-draw": "^1.0.0",
44-
"@nycplanning/ember": "^3.1.0",
44+
"@nycplanning/ember": "^3.2.0",
4545
"@nycplanning/ember-cli-foundation-6-sass": "^0.1.0",
4646
"@nycplanning/ember-cli-nouislider": "^1.3.0",
4747
"@nycplanning/ember-mapbox-gl-draw": "^2.1.0",

0 commit comments

Comments
 (0)