-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1710 lines (1701 loc) · 127 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="css/leaflet.css"><link rel="stylesheet" href="css/L.Control.Locate.min.css">
<link rel="stylesheet" href="css/qgis2web.css"><link rel="stylesheet" href="css/fontawesome-all.min.css">
<link rel="stylesheet" href="css/leaflet-control-geocoder.Geocoder.css">
<link rel="stylesheet" href="css/leaflet-measure.css">
<style>
html, body, #map {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
</style>
<title>Milwaukee's Prewar Apartment Homes</title>
<link rel="shortcut icon" type="image/png" href="favicon.png">
<!--CREDITS----https://github.com/tomchadwin/qgis2web----https://leafletjs.com----https://qgis.org"-->
</head>
<body>
<div id="map">
</div>
<script src="js/qgis2web_expressions.js"></script>
<script src="js/leaflet.js"></script><script src="js/L.Control.Locate.min.js"></script>
<script src="js/leaflet.rotatedMarker.js"></script>
<script src="js/leaflet.pattern.js"></script>
<script src="js/leaflet-hash.js"></script>
<script src="js/Autolinker.min.js"></script>
<script src="js/rbush.min.js"></script>
<script src="js/labelgun.min.js"></script>
<script src="js/labels.js"></script>
<script src="js/leaflet-control-geocoder.Geocoder.js"></script>
<script src="js/leaflet-measure.js"></script>
<script src="data/razedpolygons_3.js"></script>
<script src="data/razed_4.js"></script>
<script src="data/extantpolygons_5.js"></script>
<script src="data/extant_6.js"></script>
<script src="data/SWD_7.js"></script>
<script src="data/WFB_8.js"></script>
<script src="data/STF_9.js"></script>
<script src="data/CUD_10.js"></script>
<script src="data/SMKE_11.js"></script>
<script>
var map = L.map('map', {
zoomControl:true, maxZoom:22, minZoom:9
})
var hash = new L.Hash(map);
map.attributionControl.setPrefix('<b>All prewar apartment buildings in Milwaukee County.</b><br><b><a title="created by Ben Teel 2018-2020" href="https://github.com/mappingmilwaukee/MKE-apartments/blob/master/README.md" target="_blank">ABOUT THIS PROJECT</a> · <a title="or just say hi! email mkehist@gmail.com" href="mailto:mkehist@gmail.com">REPORT MISSING DATA</a><br><a href="https://github.com/mappingmilwaukee/MKE-apartments" target="_blank">GitHub repo</a> · <a href="https://mappingmilwaukee.com" target="_blank">Milwaukee's Bike Lanes & Trails </a></b>');
L.control.locate({locateOptions: {maxZoom: 19}}).addTo(map);
var measureControl = new L.Control.Measure({
position: 'topleft',
primaryLengthUnit: 'feet',
secondaryLengthUnit: 'miles',
primaryAreaUnit: 'sqfeet',
secondaryAreaUnit: 'sqmiles'
});
measureControl.addTo(map);
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.innerHTML = '';
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.className += ' fas fa-ruler';
var bounds_group = new L.featureGroup([]);
function setBounds() {
if (bounds_group.getLayers().length) {
map.fitBounds(bounds_group.getBounds());
}
}
var layer_GoogleSatelliteHybrid_0 = L.tileLayer('https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}', {
opacity: 1.0,
attribution: '',
minZoom: 9,
maxZoom: 22,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_GoogleSatelliteHybrid_0;
map.addLayer(layer_GoogleSatelliteHybrid_0);
var layer_GoogleMaps_1 = L.tileLayer('https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}', {
opacity: 1.0,
attribution: '',
minZoom: 9,
maxZoom: 22,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_GoogleMaps_1;
var layer_OpenStreetMapStandard_2 = L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {
opacity: 1.0,
attribution: '',
minZoom: 9,
maxZoom: 22,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_OpenStreetMapStandard_2;
function pop_razedpolygons_3(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2">' + (feature.properties['id'] !== null ? Autolinker.link(feature.properties['id'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_razedpolygons_3_0() {
return {
pane: 'pane_razedpolygons_3',
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1.0,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(223,0,0,1.0)',
interactive: true,
}
}
map.createPane('pane_razedpolygons_3');
map.getPane('pane_razedpolygons_3').style.zIndex = 403;
map.getPane('pane_razedpolygons_3').style['mix-blend-mode'] = 'normal';
var layer_razedpolygons_3 = new L.geoJson(json_razedpolygons_3, {
attribution: '',
interactive: true,
dataVar: 'json_razedpolygons_3',
layerName: 'layer_razedpolygons_3',
pane: 'pane_razedpolygons_3',
onEachFeature: pop_razedpolygons_3,
style: style_razedpolygons_3_0,
});
bounds_group.addLayer(layer_razedpolygons_3);
map.addLayer(layer_razedpolygons_3);
function pop_razed_4(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>currname</strong><br />' + (feature.properties['currname'] !== null ? Autolinker.link(feature.properties['currname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>formname</strong><br />' + (feature.properties['formname'] !== null ? Autolinker.link(feature.properties['formname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>formadd</strong><br />' + (feature.properties['formadd'] !== null ? Autolinker.link(feature.properties['formadd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>city</strong><br />' + (feature.properties['city'] !== null ? Autolinker.link(feature.properties['city'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>state</strong><br />' + (feature.properties['state'] !== null ? Autolinker.link(feature.properties['state'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>ZIP</strong><br />' + (feature.properties['ZIP'] !== null ? Autolinker.link(feature.properties['ZIP'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>bdate</strong><br />' + (feature.properties['bdate'] !== null ? Autolinker.link(feature.properties['bdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>rdate</strong><br />' + (feature.properties['rdate'] !== null ? Autolinker.link(feature.properties['rdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>plan</strong><br />' + (feature.properties['plan'] !== null ? Autolinker.link(feature.properties['plan'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>styles</strong><br />' + (feature.properties['styles'] !== null ? Autolinker.link(feature.properties['styles'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>archfirm</strong><br />' + (feature.properties['archfirm'] !== null ? Autolinker.link(feature.properties['archfirm'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>archts</strong><br />' + (feature.properties['archts'] !== null ? Autolinker.link(feature.properties['archts'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>bldrs</strong><br />' + (feature.properties['bldrs'] !== null ? Autolinker.link(feature.properties['bldrs'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>owners</strong><br />' + (feature.properties['owners'] !== null ? Autolinker.link(feature.properties['owners'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>floors</strong><br />' + (feature.properties['floors'] !== null ? Autolinker.link(feature.properties['floors'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>units</strong><br />' + (feature.properties['units'] !== null ? Autolinker.link(feature.properties['units'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>cost</strong><br />' + (feature.properties['cost'] !== null ? Autolinker.link(feature.properties['cost'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>fallout</strong><br />' + (feature.properties['fallout'] !== null ? Autolinker.link(feature.properties['fallout'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>Notes</strong><br />' + (feature.properties['Notes'] !== null ? Autolinker.link(feature.properties['Notes'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links1</strong><br />' + (feature.properties['links1'] !== null ? Autolinker.link(feature.properties['links1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links2</strong><br />' + (feature.properties['links2'] !== null ? Autolinker.link(feature.properties['links2'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links3</strong><br />' + (feature.properties['links3'] !== null ? Autolinker.link(feature.properties['links3'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links4</strong><br />' + (feature.properties['links4'] !== null ? Autolinker.link(feature.properties['links4'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links5</strong><br />' + (feature.properties['links5'] !== null ? Autolinker.link(feature.properties['links5'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links6</strong><br />' + (feature.properties['links6'] !== null ? Autolinker.link(feature.properties['links6'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links7</strong><br />' + (feature.properties['links7'] !== null ? Autolinker.link(feature.properties['links7'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links8</strong><br />' + (feature.properties['links8'] !== null ? Autolinker.link(feature.properties['links8'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>WHSAHI</strong><br />' + (feature.properties['WHSAHI'] !== null ? Autolinker.link(feature.properties['WHSAHI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>OldMKE</strong><br />' + (feature.properties['OldMKE'] !== null ? Autolinker.link(feature.properties['OldMKE'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLHPA</strong><br />' + (feature.properties['MPLHPA'] !== null ? Autolinker.link(feature.properties['MPLHPA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLMAI</strong><br />' + (feature.properties['MPLMAI'] !== null ? Autolinker.link(feature.properties['MPLMAI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLWAA</strong><br />' + (feature.properties['MPLWAA'] !== null ? Autolinker.link(feature.properties['MPLWAA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MCHSLBC</strong><br />' + (feature.properties['MCHSLBC'] !== null ? Autolinker.link(feature.properties['MCHSLBC'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_razed_4_0() {
return {
pane: 'pane_razed_4',
radius: 4.0,
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(223,0,0,1.0)',
interactive: true,
}
}
map.createPane('pane_razed_4');
map.getPane('pane_razed_4').style.zIndex = 404;
map.getPane('pane_razed_4').style['mix-blend-mode'] = 'normal';
var layer_razed_4 = new L.geoJson(json_razed_4, {
attribution: '',
interactive: true,
dataVar: 'json_razed_4',
layerName: 'layer_razed_4',
pane: 'pane_razed_4',
onEachFeature: pop_razed_4,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.circleMarker(latlng, style_razed_4_0(feature));
},
});
bounds_group.addLayer(layer_razed_4);
map.addLayer(layer_razed_4);
function pop_extantpolygons_5(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2">' + (feature.properties['full_id'] !== null ? Autolinker.link(feature.properties['full_id'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['osm_id'] !== null ? Autolinker.link(feature.properties['osm_id'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['osm_type'] !== null ? Autolinker.link(feature.properties['osm_type'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_city'] !== null ? Autolinker.link(feature.properties['addr_city'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_house'] !== null ? Autolinker.link(feature.properties['addr_house'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_postc'] !== null ? Autolinker.link(feature.properties['addr_postc'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_state'] !== null ? Autolinker.link(feature.properties['addr_state'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_stree'] !== null ? Autolinker.link(feature.properties['addr_stree'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building'] !== null ? Autolinker.link(feature.properties['building'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_a'] !== null ? Autolinker.link(feature.properties['building_a'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_1'] !== null ? Autolinker.link(feature.properties['building_1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_l'] !== null ? Autolinker.link(feature.properties['building_l'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_m'] !== null ? Autolinker.link(feature.properties['building_m'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_u'] !== null ? Autolinker.link(feature.properties['building_u'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['condo'] !== null ? Autolinker.link(feature.properties['condo'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name'] !== null ? Autolinker.link(feature.properties['name'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['start_date'] !== null ? Autolinker.link(feature.properties['start_date'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['type'] !== null ? Autolinker.link(feature.properties['type'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['roof_level'] !== null ? Autolinker.link(feature.properties['roof_level'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['roof_shape'] !== null ? Autolinker.link(feature.properties['roof_shape'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_2'] !== null ? Autolinker.link(feature.properties['building_2'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact_fa'] !== null ? Autolinker.link(feature.properties['contact_fa'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact_ph'] !== null ? Autolinker.link(feature.properties['contact_ph'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact_we'] !== null ? Autolinker.link(feature.properties['contact_we'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_3'] !== null ? Autolinker.link(feature.properties['building_3'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact_em'] !== null ? Autolinker.link(feature.properties['contact_em'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['operator'] !== null ? Autolinker.link(feature.properties['operator'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['amenity'] !== null ? Autolinker.link(feature.properties['amenity'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_4'] !== null ? Autolinker.link(feature.properties['building_4'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_5'] !== null ? Autolinker.link(feature.properties['building_5'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_6'] !== null ? Autolinker.link(feature.properties['building_6'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_1979'] !== null ? Autolinker.link(feature.properties['name_1979'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_2011'] !== null ? Autolinker.link(feature.properties['name_2011'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['social_fac'] !== null ? Autolinker.link(feature.properties['social_fac'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['social_f_1'] !== null ? Autolinker.link(feature.properties['social_f_1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact__1'] !== null ? Autolinker.link(feature.properties['contact__1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['units'] !== null ? Autolinker.link(feature.properties['units'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_count'] !== null ? Autolinker.link(feature.properties['addr_count'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_c'] !== null ? Autolinker.link(feature.properties['building_c'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['historic'] !== null ? Autolinker.link(feature.properties['historic'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_histo'] !== null ? Autolinker.link(feature.properties['name_histo'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['height'] !== null ? Autolinker.link(feature.properties['height'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['wikidata'] !== null ? Autolinker.link(feature.properties['wikidata'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['wikipedia'] !== null ? Autolinker.link(feature.properties['wikipedia'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_7'] !== null ? Autolinker.link(feature.properties['building_7'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['owner'] !== null ? Autolinker.link(feature.properties['owner'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['short_name'] !== null ? Autolinker.link(feature.properties['short_name'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['alt_name'] !== null ? Autolinker.link(feature.properties['alt_name'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_8'] !== null ? Autolinker.link(feature.properties['building_8'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['addr_hou_1'] !== null ? Autolinker.link(feature.properties['addr_hou_1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['layer'] !== null ? Autolinker.link(feature.properties['layer'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_9'] !== null ? Autolinker.link(feature.properties['building_9'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building10'] !== null ? Autolinker.link(feature.properties['building10'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['constructi'] !== null ? Autolinker.link(feature.properties['constructi'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['access'] !== null ? Autolinker.link(feature.properties['access'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['covered'] !== null ? Autolinker.link(feature.properties['covered'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['leisure'] !== null ? Autolinker.link(feature.properties['leisure'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_1863'] !== null ? Autolinker.link(feature.properties['name_1863'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['tourism'] !== null ? Autolinker.link(feature.properties['tourism'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['wheelchair'] !== null ? Autolinker.link(feature.properties['wheelchair'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building11'] !== null ? Autolinker.link(feature.properties['building11'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building12'] !== null ? Autolinker.link(feature.properties['building12'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_1980'] !== null ? Autolinker.link(feature.properties['name_1980'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['ele'] !== null ? Autolinker.link(feature.properties['ele'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['gnis_count'] !== null ? Autolinker.link(feature.properties['gnis_count'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['gnis_featu'] !== null ? Autolinker.link(feature.properties['gnis_featu'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['gnis_impor'] !== null ? Autolinker.link(feature.properties['gnis_impor'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['gnis_revie'] !== null ? Autolinker.link(feature.properties['gnis_revie'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact__2'] !== null ? Autolinker.link(feature.properties['contact__2'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['natural'] !== null ? Autolinker.link(feature.properties['natural'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['landuse'] !== null ? Autolinker.link(feature.properties['landuse'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_1977'] !== null ? Autolinker.link(feature.properties['name_1977'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['barrier'] !== null ? Autolinker.link(feature.properties['barrier'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['level'] !== null ? Autolinker.link(feature.properties['level'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['water'] !== null ? Autolinker.link(feature.properties['water'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['branch'] !== null ? Autolinker.link(feature.properties['branch'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_2013'] !== null ? Autolinker.link(feature.properties['name_2013'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['payment_bi'] !== null ? Autolinker.link(feature.properties['payment_bi'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['rooms'] !== null ? Autolinker.link(feature.properties['rooms'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['smoking'] !== null ? Autolinker.link(feature.properties['smoking'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building13'] !== null ? Autolinker.link(feature.properties['building13'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact__3'] !== null ? Autolinker.link(feature.properties['contact__3'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['link'] !== null ? Autolinker.link(feature.properties['link'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['club'] !== null ? Autolinker.link(feature.properties['club'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_1940'] !== null ? Autolinker.link(feature.properties['name_1940'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['religion'] !== null ? Autolinker.link(feature.properties['religion'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['building_y'] !== null ? Autolinker.link(feature.properties['building_y'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['website'] !== null ? Autolinker.link(feature.properties['website'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_2006'] !== null ? Autolinker.link(feature.properties['name_2006'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['opening_da'] !== null ? Autolinker.link(feature.properties['opening_da'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_2007'] !== null ? Autolinker.link(feature.properties['name_2007'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['name_2010'] !== null ? Autolinker.link(feature.properties['name_2010'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['phone'] !== null ? Autolinker.link(feature.properties['phone'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['opening_ho'] !== null ? Autolinker.link(feature.properties['opening_ho'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['contact__4'] !== null ? Autolinker.link(feature.properties['contact__4'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['email'] !== null ? Autolinker.link(feature.properties['email'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_extantpolygons_5_0() {
return {
pane: 'pane_extantpolygons_5',
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1.0,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(35,182,1,1.0)',
interactive: true,
}
}
map.createPane('pane_extantpolygons_5');
map.getPane('pane_extantpolygons_5').style.zIndex = 405;
map.getPane('pane_extantpolygons_5').style['mix-blend-mode'] = 'normal';
var layer_extantpolygons_5 = new L.geoJson(json_extantpolygons_5, {
attribution: '',
interactive: true,
dataVar: 'json_extantpolygons_5',
layerName: 'layer_extantpolygons_5',
pane: 'pane_extantpolygons_5',
onEachFeature: pop_extantpolygons_5,
style: style_extantpolygons_5_0,
});
bounds_group.addLayer(layer_extantpolygons_5);
map.addLayer(layer_extantpolygons_5);
function pop_extant_6(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>currname</strong><br />' + (feature.properties['currname'] !== null ? Autolinker.link(feature.properties['currname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>formname</strong><br />' + (feature.properties['formname'] !== null ? Autolinker.link(feature.properties['formname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>formadd</strong><br />' + (feature.properties['formadd'] !== null ? Autolinker.link(feature.properties['formadd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>city</strong><br />' + (feature.properties['city'] !== null ? Autolinker.link(feature.properties['city'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>state</strong><br />' + (feature.properties['state'] !== null ? Autolinker.link(feature.properties['state'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>ZIP</strong><br />' + (feature.properties['ZIP'] !== null ? Autolinker.link(feature.properties['ZIP'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>bdate</strong><br />' + (feature.properties['bdate'] !== null ? Autolinker.link(feature.properties['bdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>rdate</strong><br />' + (feature.properties['rdate'] !== null ? Autolinker.link(feature.properties['rdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>plan</strong><br />' + (feature.properties['plan'] !== null ? Autolinker.link(feature.properties['plan'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>styles</strong><br />' + (feature.properties['styles'] !== null ? Autolinker.link(feature.properties['styles'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>archfirm</strong><br />' + (feature.properties['archfirm'] !== null ? Autolinker.link(feature.properties['archfirm'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>archts</strong><br />' + (feature.properties['archts'] !== null ? Autolinker.link(feature.properties['archts'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>bldrs</strong><br />' + (feature.properties['bldrs'] !== null ? Autolinker.link(feature.properties['bldrs'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>owners</strong><br />' + (feature.properties['owners'] !== null ? Autolinker.link(feature.properties['owners'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>floors</strong><br />' + (feature.properties['floors'] !== null ? Autolinker.link(feature.properties['floors'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>units</strong><br />' + (feature.properties['units'] !== null ? Autolinker.link(feature.properties['units'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>cost</strong><br />' + (feature.properties['cost'] !== null ? Autolinker.link(feature.properties['cost'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>fallout</strong><br />' + (feature.properties['fallout'] !== null ? Autolinker.link(feature.properties['fallout'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>Notes</strong><br />' + (feature.properties['Notes'] !== null ? Autolinker.link(feature.properties['Notes'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links1</strong><br />' + (feature.properties['links1'] !== null ? Autolinker.link(feature.properties['links1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links2</strong><br />' + (feature.properties['links2'] !== null ? Autolinker.link(feature.properties['links2'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links3</strong><br />' + (feature.properties['links3'] !== null ? Autolinker.link(feature.properties['links3'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links4</strong><br />' + (feature.properties['links4'] !== null ? Autolinker.link(feature.properties['links4'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links5</strong><br />' + (feature.properties['links5'] !== null ? Autolinker.link(feature.properties['links5'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links6</strong><br />' + (feature.properties['links6'] !== null ? Autolinker.link(feature.properties['links6'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links7</strong><br />' + (feature.properties['links7'] !== null ? Autolinker.link(feature.properties['links7'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>links8</strong><br />' + (feature.properties['links8'] !== null ? Autolinker.link(feature.properties['links8'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>WHSAHI</strong><br />' + (feature.properties['WHSAHI'] !== null ? Autolinker.link(feature.properties['WHSAHI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>OldMKE</strong><br />' + (feature.properties['OldMKE'] !== null ? Autolinker.link(feature.properties['OldMKE'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLHPA</strong><br />' + (feature.properties['MPLHPA'] !== null ? Autolinker.link(feature.properties['MPLHPA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLMAI</strong><br />' + (feature.properties['MPLMAI'] !== null ? Autolinker.link(feature.properties['MPLMAI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MPLWAA</strong><br />' + (feature.properties['MPLWAA'] !== null ? Autolinker.link(feature.properties['MPLWAA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>MCHSLBC</strong><br />' + (feature.properties['MCHSLBC'] !== null ? Autolinker.link(feature.properties['MCHSLBC'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_extant_6_0() {
return {
pane: 'pane_extant_6',
radius: 4.0,
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(35,182,1,1.0)',
interactive: true,
}
}
map.createPane('pane_extant_6');
map.getPane('pane_extant_6').style.zIndex = 406;
map.getPane('pane_extant_6').style['mix-blend-mode'] = 'normal';
var layer_extant_6 = new L.geoJson(json_extant_6, {
attribution: '',
interactive: true,
dataVar: 'json_extant_6',
layerName: 'layer_extant_6',
pane: 'pane_extant_6',
onEachFeature: pop_extant_6,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.circleMarker(latlng, style_extant_6_0(feature));
},
});
bounds_group.addLayer(layer_extant_6);
map.addLayer(layer_extant_6);
function pop_SWD_7(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2">' + (feature.properties['currname'] !== null ? Autolinker.link(feature.properties['currname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['formname'] !== null ? Autolinker.link(feature.properties['formname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['fulladd'] !== null ? Autolinker.link(feature.properties['fulladd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['geolat'] !== null ? Autolinker.link(feature.properties['geolat'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['geolong'] !== null ? Autolinker.link(feature.properties['geolong'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['formadd'] !== null ? Autolinker.link(feature.properties['formadd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['city'] !== null ? Autolinker.link(feature.properties['city'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['state'] !== null ? Autolinker.link(feature.properties['state'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['ZIP'] !== null ? Autolinker.link(feature.properties['ZIP'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['bdate'] !== null ? Autolinker.link(feature.properties['bdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['rdate'] !== null ? Autolinker.link(feature.properties['rdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['razedYN'] !== null ? Autolinker.link(feature.properties['razedYN'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['plan'] !== null ? Autolinker.link(feature.properties['plan'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['styles'] !== null ? Autolinker.link(feature.properties['styles'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['archfirm'] !== null ? Autolinker.link(feature.properties['archfirm'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['archts'] !== null ? Autolinker.link(feature.properties['archts'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['bldrs'] !== null ? Autolinker.link(feature.properties['bldrs'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['owners'] !== null ? Autolinker.link(feature.properties['owners'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['floors'] !== null ? Autolinker.link(feature.properties['floors'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['units'] !== null ? Autolinker.link(feature.properties['units'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['cost'] !== null ? Autolinker.link(feature.properties['cost'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['materials'] !== null ? Autolinker.link(feature.properties['materials'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['fallout'] !== null ? Autolinker.link(feature.properties['fallout'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['Notes'] !== null ? Autolinker.link(feature.properties['Notes'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links1'] !== null ? Autolinker.link(feature.properties['links1'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links2'] !== null ? Autolinker.link(feature.properties['links2'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links3'] !== null ? Autolinker.link(feature.properties['links3'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links4'] !== null ? Autolinker.link(feature.properties['links4'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links5'] !== null ? Autolinker.link(feature.properties['links5'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links6'] !== null ? Autolinker.link(feature.properties['links6'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links7'] !== null ? Autolinker.link(feature.properties['links7'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['links8'] !== null ? Autolinker.link(feature.properties['links8'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['WHSAHI'] !== null ? Autolinker.link(feature.properties['WHSAHI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['OldMKE'] !== null ? Autolinker.link(feature.properties['OldMKE'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['MPLHPA'] !== null ? Autolinker.link(feature.properties['MPLHPA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['MPLMAI'] !== null ? Autolinker.link(feature.properties['MPLMAI'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['MPLWAA'] !== null ? Autolinker.link(feature.properties['MPLWAA'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['MCHSLBC'] !== null ? Autolinker.link(feature.properties['MCHSLBC'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['type'] !== null ? Autolinker.link(feature.properties['type'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['citydiv'] !== null ? Autolinker.link(feature.properties['citydiv'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_41'] !== null ? Autolinker.link(feature.properties['field_41'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_42'] !== null ? Autolinker.link(feature.properties['field_42'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_43'] !== null ? Autolinker.link(feature.properties['field_43'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_44'] !== null ? Autolinker.link(feature.properties['field_44'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_45'] !== null ? Autolinker.link(feature.properties['field_45'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_46'] !== null ? Autolinker.link(feature.properties['field_46'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_47'] !== null ? Autolinker.link(feature.properties['field_47'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_48'] !== null ? Autolinker.link(feature.properties['field_48'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_49'] !== null ? Autolinker.link(feature.properties['field_49'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_50'] !== null ? Autolinker.link(feature.properties['field_50'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_51'] !== null ? Autolinker.link(feature.properties['field_51'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_52'] !== null ? Autolinker.link(feature.properties['field_52'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_53'] !== null ? Autolinker.link(feature.properties['field_53'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['field_54'] !== null ? Autolinker.link(feature.properties['field_54'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_SWD_7_0() {
return {
pane: 'pane_SWD_7',
radius: 4.0,
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(35,182,1,1.0)',
interactive: true,
}
}
map.createPane('pane_SWD_7');
map.getPane('pane_SWD_7').style.zIndex = 407;
map.getPane('pane_SWD_7').style['mix-blend-mode'] = 'normal';
var layer_SWD_7 = new L.geoJson(json_SWD_7, {
attribution: '',
interactive: true,
dataVar: 'json_SWD_7',
layerName: 'layer_SWD_7',
pane: 'pane_SWD_7',
onEachFeature: pop_SWD_7,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.circleMarker(latlng, style_SWD_7_0(feature));
},
});
bounds_group.addLayer(layer_SWD_7);
map.addLayer(layer_SWD_7);
function pop_WFB_8(feature, layer) {
var popupContent = '<table>\
<tr>\
<td colspan="2">' + (feature.properties['currname'] !== null ? Autolinker.link(feature.properties['currname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['formname'] !== null ? Autolinker.link(feature.properties['formname'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['fulladd'] !== null ? Autolinker.link(feature.properties['fulladd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['geolat'] !== null ? Autolinker.link(feature.properties['geolat'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['geolong'] !== null ? Autolinker.link(feature.properties['geolong'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['formadd'] !== null ? Autolinker.link(feature.properties['formadd'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['city'] !== null ? Autolinker.link(feature.properties['city'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['state'] !== null ? Autolinker.link(feature.properties['state'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['ZIP'] !== null ? Autolinker.link(feature.properties['ZIP'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['bdate'] !== null ? Autolinker.link(feature.properties['bdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['rdate'] !== null ? Autolinker.link(feature.properties['rdate'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['razedYN'] !== null ? Autolinker.link(feature.properties['razedYN'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['plan'] !== null ? Autolinker.link(feature.properties['plan'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['styles'] !== null ? Autolinker.link(feature.properties['styles'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['archfirm'] !== null ? Autolinker.link(feature.properties['archfirm'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['archts'] !== null ? Autolinker.link(feature.properties['archts'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['bldrs'] !== null ? Autolinker.link(feature.properties['bldrs'].toLocaleString(), {truncate: {length: 30, location: 'smart'}}) : '') + '</td>\
</tr>\