-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
159 lines (149 loc) · 8.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<!-- Matomo Tag Manager -->
<script>
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
(function() {
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/nycplanning.matomo.cloud/container_4Dl1f4CI.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Tag Manager -->
<!-- Fullstory Tag -->
<script>
window['_fs_host'] = 'fullstory.com';
window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
window['_fs_org'] = 'o-19S9J2-na1';
window['_fs_namespace'] = 'FS';
(function(m,n,e,t,l,o,g,y){
if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
g.anonymize=function(){g.identify(!!0)};
g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
g.log = function(a,b){g("log",[a,b])};
g.consent=function(a){g("consent",!arguments.length||a)};
g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
g.clearUserCookie=function(){};
g.setVars=function(n, p){g('setVars',[n,p]);};
g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y];
if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)};
g._v="1.3.0";
})(window,document,window['_fs_namespace'],'script','user');
</script>
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@nycplanning" />
<meta name="twitter:creator" content="@nycplanninglabs" />
<meta name="twitter:title" content="NYC Planning Tax Lot Selector" />
<meta name="twitter:description" content="A tool for selecting multiple NYC tax lots and downloading their data" />
<meta name="twitter:image" content="https://lotselector.planning.nyc.gov/img/screenshot-1200x628.png" />
<!-- Facebook / Open Graph tags -->
<meta property="og:title" content="NYC Planning Tax Lot Selector" />
<meta property="og:description" content="A tool for selecting multiple NYC tax lots and downloading their data" />
<meta property="og:image" content="https://lotselector.planning.nyc.gov/img/screenshot-1200x628.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="628" />
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v2.1.0/mapbox-gl-geocoder.css" type="text/css" />
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v0.19.0/mapbox-gl-draw.css" type="text/css"/>
<link rel="stylesheet" href="css/labs-foundation.css">
<link rel="stylesheet" href="css/dcp.css">
<link rel="stylesheet" href="css/styles.css">
<!-- BEGIN TRACKJS -->
<script type="text/javascript">window._trackJs = { token: '021d694d30524212979b729736656f55' };</script>
<script type="text/javascript" src="https://cdn.trackjs.com/releases/current/tracker.js"></script>
<!-- END TRACKJS -->
</head>
<body>
<div class="site-header">
<header role="banner">
<div class="grid-x grid-padding-x">
<div class="branding cell auto">
<a class="dcp-link" href="http://www1.nyc.gov/site/planning/index.page"><img class="dcp-logo" src="https://raw.githubusercontent.com/NYCPlanning/logo/master/dcp_logo_772.png" alt="NYC Planning"></a>
<a href="." class="site-name">
Tax Lot Selector
</a>
</div>
<div class="cell shrink show-for-large">
<nav role="navigation">
<ul class="vertical large-horizontal menu">
<li>
<a href="#" data-toggle="modal" data-open="exampleModal1">Data</a>
</li>
<li>
<a href="https://github.com/NYCPlanning/labs-bbl-list-generator" target="_blank">Github</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
</div>
<div class="main-grid grid-x">
<div id='sidebar' class='large-4 cell'>
<p>You can use this simple tool to quickly get a shapefile or CSV of tax lot data for a small part of the city.</p>
<p><i aria-hidden="true" class="fa fa-hand-pointer-o"></i> Click individual lots to select or unselect, or use the draw tool to select a custom polygon.</p>
<button class="selection-tool-draw button small gray text-orange "><i aria-hidden="true" class="fa fa-pencil-square-o"></i> Draw</button>
<div class="callout">
<h3><span id="selected-count">0</span> lots selected</h3>
<a href="#" id="clear-button" class="warning button disabled"><span class="fa fa-times"></span> Clear Selection</a>
</div>
<div class="callout">
<h3>
Download
</h3>
<form>
<p>Please select download mode:</p>
<div>
<ul class="no-bullet">
<li>
<input type="radio" id="contactChoice1"
name="contact" value="email" checked onchange="window.downloadMode = 'paperless'">
<label for="contactChoice1">Paperless Filing</label>
</li>
<li>
<input type="radio" id="contactChoice3"
name="contact" value="email" checked onchange="window.downloadMode = 'bbls'">
<label for="contactChoice3">BBLs Only</label>
</li>
<li>
<input type="radio" id="contactChoice2"
name="contact" value="phone" onchange="window.downloadMode = 'all'">
<label for="contactChoice2">All PLUTO Fields</label>
</li>
</ul>
</div>
</form>
<div class="button-group">
<a href="#" id="csv-download-button" class="success button disabled"><span class="fa fa-download"></span> CSV</a>
<a href="#" id="shp-download-button" class="success button disabled"><span class="fa fa-download"></span> SHP</a>
</div>
</div>
</div>
<div class='large-8 cell'>
<div id='map'></div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.38.0/mapbox-gl.js'></script>
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v2.1.0/mapbox-gl-geocoder.min.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/turf/v3.0.11/turf.min.js'></script>
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v0.19.0/mapbox-gl-draw.js'></script>
<script src="https://use.fontawesome.com/46fa1fbe2f.js"></script>
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.23.0/polyfill.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/js/foundation.min.js" crossorigin="anonymous"></script>
<script src="js/layerConfig.js" type="text/babel"></script>
<script src="js/carto.js" type="text/babel"></script>
<script src="js/scripts.js" type="text/babel"></script>
</body>
</html>