-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
5651 lines (5505 loc) · 247 KB
/
index.js
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
//https://cdn.jsdelivr.net/gh//DDDgfx/tenx@973a7c6c5c752cc1500ea491a7ea13be75e16a48/index.js"
//<script src="https://cdn.jsdelivr.net/gh//DDDgfx/tenx@a1b47381d17aa3b87be44e14562c2f5272fbf716/index.js"></script>;
$(document).ready(function () {
console.log("ready steady!");
var diagramDiv = d3.select("#building-diagram");
diagramDiv.html(buildingsvg);
svg = d3.select("#stack-svg");
var suites = svg.selectAll(".suites");
var floors = svg.selectAll(".floors");
suites.selectAll(".suite").style("fill-opacity", 0);
suites.selectAll(".diagram-label").style("fill-opacity", 0);
floors.selectAll(".floor").style("fill-opacity", 0);
floors.selectAll(".diagram-label").style("fill-opacity", 0);
//suites.style("visibility", "hidden");
//1. Look throught the table and find the current list of columns and availabilities.
var aTableContainer = d3.select("#availability-table-container"); //Get the container for the table
console.log(aTableContainer);
var aTableHeaders = aTableContainer.select(".atr-header").selectAll("div"); //get the div that holds the column headers
var aTableHeaderList = []; //make an array of the table headers.
aTableHeaders.each(function (d, i) {
aTableHeaderList.push(this.innerHTML.toLowerCase());
}); //push the column headers into it
console.log(aTableHeaderList);
var aItems = aTableContainer.selectAll(".availability-item"); //get rows of the table
//for each row in the teble
aItems.each(function (d, i) {
var item = d3.select(this);
console.log(this);
var rowLink = item.select("a").attr("href") //the click link for the row
var suiteCol = item.select("a").select('.availability-table-row').selectAll("div");
var suiteName = d3.select(suiteCol.nodes()[aTableHeaderList.indexOf("unit")]).html().toLowerCase();
//console.log(suiteName);
var detailurl = "availability/" + suiteName;
const itemData = new Map();
item.select(".availability-table-row").selectChildren("div").each(function (d, i) {
// console.log(i);
// console.log(this);
if (i === 0) {
itemData.set(aTableHeaderList[i], d3.select(this).select('div').node().innerHTML.toLowerCase());
} else if (i > 0) {
itemData.set(aTableHeaderList[i], this.innerHTML.toLowerCase());
}
})
var suitePolygon = svg.select("#s-" + itemData.get("unit"));
var floorPolygon = svg.select("#f-" + itemData.get("floor"));
//console.log(itemData);
suitePolygon.selectAll(".suite").style("fill-opacity", .25);
if (suitePolygon.empty()) {
console.log('no suite polygon');
floorPolygon.selectAll(".floor").style("fill-opacity", .25);
floorPolygon.on("mouseover", function (event, d) {
d3.select(this).selectAll(".floor").transition().style("fill-opacity", 1);
aItems.transition().style("opacity", .3);
item.transition().style("opacity", 1);
});
floorPolygon.on("mouseleave", function (event, d) {
// d3.select(this).selectAll(".floor").transition().style("fill-opacity", 1);
// aItems.transition().style("opacity", .3);
// item.transition().style("opacity", 1);
d3.select(this).selectAll(".floor").transition().style("fill-opacity", .25);
aItems.transition().style("opacity", 1);
});
floorPolygon.on("click", function (event, d) {
window.open(rowLink, "_top");
})
}
//floorPolygon.selectAll(".floor").style("fill-opacity", .1);
suitePolygon.on("mouseover", function (event, d) {
console.log(rowLink);
console.log(detailurl);
d3.select(this).selectAll(".suite").transition().style("fill-opacity", 1);
aItems.transition().style("opacity", .3);
item.transition().style("opacity", 1);
})
suitePolygon.on("mouseleave", function (event, d) {
d3.select(this).selectAll(".suite").transition().style("fill-opacity", .25);
aItems.transition().style("opacity", 1);
})
suitePolygon.on("click", function (event, d) {
window.open(rowLink, "_top");
})
item.on("mouseover", function (event, d) {
aItems.transition().style("opacity", .3);
d3.select(this).transition().style("opacity", 1);
suitePolygon.selectAll(".suite").transition().style("fill-opacity", 1);
if (suitePolygon.empty()) {
console.log('not suite polygon');
floorPolygon.selectAll(".floor").transition().style("fill-opacity", 1);
}
})
item.on("mouseleave", function (event, d) {
aItems.transition().style("opacity", 1);
suitePolygon.selectAll(".suite").transition().style("fill-opacity", .25);
if (suitePolygon.empty()) {
console.log('not suite polygon');
floorPolygon.selectAll(".floor").transition().style("fill-opacity", .25);
}
})
item.on("click", function (event, d) {
console.log(event);
})
})
// THE WHOLE MAP INSIDE THIS CONDITIONAL.
if (d3.select("#map")) {
console.log("map init");
////MAPBOX
mapboxgl.accessToken = 'pk.eyJ1IjoiY2l6emxlIiwiYSI6ImNrcDJ0MjhteTE5cGsyb213bms0dHp6c3QifQ.-dc9k9y6KKnDlE5UszjS9A';
//Create the map
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/cizzle/ckqi5oie60jyd17s4xujbxpch',
center: [-74.033216, 40.716560], // starting position [lng, lat]
zoom: 15, // starting zoom
bearing: -48, //bearing
pitch: 52,
//interactive: false
});
//Keep the list of amenity categories.
var amenityCategories = ['Attractions', 'Fitness', 'Food and Drink', 'Hotels', 'Retail', 'Services', 'Transit'];
var currentCategory;
//var iconScale = d3.scaleOrdinal(['attractions', 'fitness', 'food', 'hotels', 'retail', 'services', 'transit']).domain(amenityCategories);
var iconScale = d3.scaleOrdinal(['halodot_g']).domain(amenityCategories);
var catAngles = {
'Attractions': {
padding: 50,
pitch: 0,
bearing: -50
},
'Fitness': {
padding: 50,
pitch: 60,
bearing: 0
},
'Food and Drink': {
padding: 50,
pitch: 35,
bearing: -50
},
'Hotels': {
padding: 25,
pitch: 70,
bearing: 123
},
'Retail': {
padding: 25,
pitch: 0,
bearing: 0
},
'Services': {
padding: 50,
pitch: 0,
bearing: -50
},
'Transit': {
padding: 50,
pitch: 0,
bearing: 0
}
}
//Map init
map.on('load', function () {
// Add a GeoJSON source for all amenities
map.addSource('amenityPoints', {
'type': 'geojson',
'data': amenityData
});
map.addLayer({
'id': 'amenities',
'type': 'symbol',
'source': 'amenityPoints',
'layout': {
'icon-image': 'halodot_g',
'icon-anchor': 'center',
'icon-size': .15,
'icon-allow-overlap': true
}
});
//for each ammenity
amenityData.features.forEach(function (feature) {
//find the category name
var category = feature.properties['Category'];
//and if it has not been done, add the category as a layer and use the filter to add all the features that match.
if (!map.getLayer(category)) {
map.addLayer({
'id': category,
'type': 'symbol',
'source': 'amenityPoints',
'layout': {
'icon-image': iconScale(category),
'icon-anchor': 'bottom',
'icon-size': .25,
'icon-allow-overlap': true
},
'filter': ['==', 'Category', category]
});
}
//and make it invisible to start.
map.setLayoutProperty(category, 'visibility', 'none');
})
//add a geo JSON source for 10 Exchange place. alone.
map.addSource('tenExchange', {
'type': 'geojson',
'data': tenExchangeFeature
});
//add a layer for 10 Exchange
map.addLayer({
'id': 'tenExchangePoint',
'type': 'symbol',
'source': 'tenExchange',
'layout': {
'icon-image': 'tenx_g_sq',
// 'text-field' : ['get', 'Name'],
'icon-anchor': 'bottom',
'icon-size': .5,
'icon-allow-overlap': true
}
});
});
//all the popups
function createPopUp(feature) {
var description = feature.properties.Category;
var id = feature.properties.id;
console.log(feature.properties.Name);
//ADD POP UP
var popUps = document.getElementsByClassName('mapboxgl-popup');
if (popUps[0]) popUps[0].remove();
var popup = new mapboxgl.Popup({
offset: [0, -25]
})
.setLngLat(feature.geometry.coordinates)
.setHTML(
'<h3>' + feature.properties.Name + '</h3>' +
'<h4>' + description + '</h4>' +
'<h3><a target="_blank" href="' + feature.properties["Google Business URL"] + '">directions</a></h3>'
)
.addTo(map);
//draw the route to the location
var tenx_x = tenExchangeFeature.features[0].geometry.coordinates[0];
var tenx_y = tenExchangeFeature.features[0].geometry.coordinates[1];
var feature_x = feature.geometry.coordinates[0];
var feature_y = feature.geometry.coordinates[1];
//directions example request.
var reqUrl = "https://api.mapbox.com/directions/v5/mapbox/cycling/" + tenx_x + '%2C' + tenx_y + '%3B' + feature_x + '%2C' + feature_y + '?alternatives=false&geometries=geojson&steps=false&access_token=pk.eyJ1IjoiY2l6emxlIiwiYSI6ImNrcDJ0MjhteTE5cGsyb213bms0dHp6c3QifQ.-dc9k9y6KKnDlE5UszjS9A';
d3.json(reqUrl).then(function (d) {
addRoute(d);
})
addMarker(feature);
}
function addRoute(d) {
var route = d.routes[0].geometry;
if (map.getLayer('route')) map.removeLayer('route');
if (map.getSource('route')) map.removeSource('route');
map.addSource('route', {
'type': 'geojson',
'data': {
'type': 'Feature',
'properties': {},
'geometry': route
}
});
map.addLayer({
'id': 'route',
'type': 'line',
'source': 'route',
'layout': {
'line-join': 'round',
'line-cap': 'round'
},
'paint': {
'line-color': '#5C6972',
'line-width': 2,
'line-dasharray': [.1, 2]
}
});
map.moveLayer('route', 'tenExchangePoint');
}
function addMarker(d) {
console.log(d)
if (map.getLayer('focusmarker')) map.removeLayer('focusmarker');
if (map.getSource('focusmarker')) map.removeSource('focusmarker');
map.addSource('focusmarker', {
'type': 'geojson',
'data': d
});
map.addLayer({
'id': 'focusmarker',
'type': 'symbol',
'source': 'focusmarker',
'layout': {
'icon-image': 'teardrop_g',
// 'text-field' : ['get', 'Name'],
'icon-anchor': 'bottom',
'icon-size': .25,
'icon-allow-overlap': true
}
});
//map.moveLayer('route', 'tenExchangePoint');
}
//MAP CLICK
map.on('click', function (e) {
console.log("zoom: " + map.getZoom() + "pitch: " + map.getPitch() + "bearing: " + map.getBearing());
// If the user clicked on one of your markers, get its information.
var features = map.queryRenderedFeatures(e.point, {
layers: amenityCategories.concat(['amenities']), //.concat(['tenExchangePoint', '10-exchange-ammenities']) // replace with your layer name
});
if (!features.length) {
return;
}
var feature = features[0];
amenityListItems.transition().style("opacity", .25);
// amenityListItems.filter(d => d.Name == feature.properties.Name).transition().style("opacity", 1);
amenityListItems.each(function (d) {
var featureName = d3.select(this).select('div').html();
featureName = featureName.replace('&', '&');
if (featureName == feature.properties.Name) {
d3.select(this).transition().style("opacity", 1);
}
})
console.log(feature);
var resizeTimer = d3.timeout(function(e) {
console.log("resize!");
map.resize();
}, 1000);
createPopUp(feature);
});
//LIST UX BEHAVIOR
var amenityCategoryHeaders = d3.selectAll(".amenity-header");
var amenityListItems = d3.selectAll(".amenity-item");
amenityListItems.on("mouseover", function (event, d) {
//1. Change the icon to the teardtop on click, and make sure all other go back to normal.
//2. Show route.
amenityListItems.transition().style("opacity", .25);
d3.select(this).transition().style("opacity", 1);
console.log(d3.select(this).select('div').html());
var featureName = d3.select(this).select('div').html();
featureName = featureName.replace('&', '&');
var featureJSON = amenityData.features.find(d => d.properties.Name == featureName);
console.log(featureJSON);
var mapFeature = map.queryRenderedFeatures({
layers: amenityCategories.concat(['amenities']),
'filter': ['==', 'Name', featureName]
});
if (!mapFeature.length) {
console.log('not here')
return;
}
var feature = mapFeature[0];
createPopUp(feature);
})
amenityCategoryHeaders.on("click", function (event, d) {
var resizeTimer = d3.timeout(function(e) {
console.log("resize!");
map.resize();
}, 1000);
var mapCat = d3.select(this).selectAll('div').nodes()[1].innerHTML;;
//find
console.log(this);
var findCat = d3.select(this).selectAll('div').nodes()[1].innerHTML;
//console.log(findCat);
// .filter(function(d){
// return this.innerHTML != "";
// });
// findCat.each(function(d) {mapCat = this.innerHTML});
// .filter(function(d) {
// d3.select(this).html != "";
// }).html;
var popUps = document.getElementsByClassName('mapboxgl-popup');
/** Check if there is already a popup on the map and if so, remove it */
if (popUps[0]) popUps[0].remove();
if (mapCat == currentCategory) {
map.setLayoutProperty('amenities', 'visibility', 'visible');
} else {
currentCategory = mapCat;
map.setLayoutProperty('amenities', 'visibility', 'none');
if (map.getLayer('route')) map.removeLayer('route');
amenityCategories.forEach(function (d) {
if (d == mapCat) {
map.setLayoutProperty(d, 'visibility', 'visible');
} else {
map.setLayoutProperty(d, 'visibility', 'none');
}
})
var features = amenityData.features.filter(d => d.properties.Category == mapCat);
var bounds = new mapboxgl.LngLatBounds();
features.forEach(function (feature) {
bounds.extend(feature.geometry.coordinates);
});
map.fitBounds(bounds, {
padding: catAngles[mapCat]["padding"],
pitch: catAngles[mapCat]["pitch"],
bearing: catAngles[mapCat]["bearing"]
});
}
})
}
////END
});
//DATA & ICONS
var tenExchangeFeature = {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.03331426860343, 40.71669039505952]
},
"properties": {
"Name": "10 Exchange Place",
"Category": "Primary",
"Address": "10 Exchange Pl, Jersey City, NJ 07302",
"Google Business URL": "",
"Latitude": 40.7166772
}
}]
}
var amenityData = {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.047331, 40.718913]
},
"properties": {
"id": "amenity-1",
"Name": "Jersey City Free Public Library",
"Category": "Attractions",
"Address": "472 Jersey Ave, Jersey City, NJ 07302",
"Google Business URL": "https://goo.gl/maps/ganfP8gkYhd9AKcx7",
"Number": 472,
"Street": "Jersey Ave",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.01570049099769, 40.71908615042376]
},
"properties": {
"id": "amenity-sunset",
"Name": "Sail Sunset",
"Category": "Attractions",
"Address": "Pier 25, West St, New York, NY 10013",
"Google Business URL": "https://www.sailsunset.com/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.01708401644817, 40.712389323993484]
},
"properties": {
"id": "amenity-ventura",
"Name": "Ventura Private Charters",
"Category": "Attractions",
"Address": "North Cove Marina at Brookfield Place, New York, NY 10281",
"Google Business URL": "https://www.sailnewyork.com/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.047143, 40.718062]
},
"properties": {
"id": "amenity-2",
"Name": "Van Vorst Park",
"Category": "Attractions",
"Address": "257-287 Montgomery St, Jersey City, NJ 07302",
"Google Business URL": "https://goo.gl/maps/4j6puHQCFu9ZabDs5",
"Number": 257,
"Street": "Montgomery St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.038177, 40.712479]
},
"properties": {
"id": "amenity-3",
"Name": "Morris Canal Park",
"Category": "Attractions",
"Address": "158 Washington St, Jersey City, NJ 07302",
"Google Business URL": "https://goo.gl/maps/WHMY4hLw5djCNcKR8",
"Number": 158,
"Street": "Washington St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.034904, 40.712803]
},
"properties": {
"id": "amenity-4",
"Name": "J. Owen Grundy Park",
"Category": "Attractions",
"Address": "Hudson St, Jersey City, NJ 07302",
"Google Business URL": "https://goo.gl/maps/rACUhtNZs3N1kvA78",
"Number": null,
"Street": "Hudson St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.040139, 40.712878]
},
"properties": {
"id": "amenity-5",
"Name": "Newport Yacht Club and Marina",
"Category": "Attractions",
"Address": "140 Dudley St, Jersey City, NJ 07302",
"Google Business URL": "https://goo.gl/maps/iSwjbdSBRRahAFGw6",
"Number": 140,
"Street": "Dudley St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.037168, 40.732728]
},
"properties": {
"id": "amenity-6",
"Name": "Newport Green Park",
"Category": "Attractions",
"Address": "Green Park, 14th St, Jersey City, NJ 07310",
"Google Business URL": "https://goo.gl/maps/KHoZUcGg711XsXY18",
"Number": null,
"Street": "",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7310,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.046081, 40.727886]
},
"properties": {
"id": "amenity-7",
"Name": "Hamilton Park",
"Category": "Attractions",
"Address": "25 W Hamilton Pl, Jersey City, NJ 07302, United States",
"Google Business URL": "https://goo.gl/maps/hMAsRSeqZUQdUXjj9",
"Number": 25,
"Street": "W Hamilton Pl",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.059901, 40.694499]
},
"properties": {
"id": "amenity-8",
"Name": "Liberty State Park",
"Category": "Attractions",
"Address": "200 Morris Pesin Dr, Jersey City, NJ 07305, United States",
"Google Business URL": "https://goo.gl/maps/xgAFJ4qabHrCKnNH6",
"Number": 200,
"Street": "Morris Pesin Dr",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7305,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.052059, 40.710075]
},
"properties": {
"id": "amenity-9",
"Name": "Empty Sky Memorial",
"Category": "Attractions",
"Address": "1 Audrey Zapp Dr, Jersey City, NJ 07305, United States",
"Google Business URL": "https://goo.gl/maps/zBusKZfHvCgSb1n19",
"Number": 1,
"Street": "Audrey Zapp Dr",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7305,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.060975, 40.710925]
},
"properties": {
"id": "amenity-10",
"Name": "Statue Cruises",
"Category": "Attractions",
"Address": "Pine St, Jersey City, NJ 07304, United States",
"Google Business URL": "https://goo.gl/maps/pME7xz3k8dyhpz8P6",
"Number": null,
"Street": "Pine St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7304,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.055972, 40.709509]
},
"properties": {
"id": "amenity-11",
"Name": "Liberty Science Center",
"Category": "Attractions",
"Address": "222 Jersey City Blvd, Jersey City, NJ 07305, United States",
"Google Business URL": "https://goo.gl/maps/CKC8Q84ZSqRmb3id9",
"Number": 222,
"Street": "Jersey City Blvd",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7305,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.070498, 40.69929]
},
"properties": {
"id": "amenity-12",
"Name": "Liberty National Golf Course",
"Category": "Attractions",
"Address": "100 Caven Point Rd, Jersey City, NJ 07305, United States",
"Google Business URL": "https://goo.gl/maps/BS3nJfN1Q2K8WXea7",
"Number": 74,
"Street": "Caven Point Rd",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7305,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.034904, 40.712803]
},
"properties": {
"id": "amenity-13",
"Name": "Jersey City 9-11 Memorial",
"Category": "Attractions",
"Address": "Hudson River Waterfront Walkway, Jersey City, NJ 07302, United States",
"Google Business URL": "https://goo.gl/maps/twSuiY1AVAavY2ne9",
"Number": null,
"Street": "Hudson St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.040139, 40.712878]
},
"properties": {
"id": "amenity-14",
"Name": "Manhattan Yacht Club",
"Category": "Attractions",
"Address": "140 Dudley St, Jersey City, NJ 07302, United States",
"Google Business URL": "https://goo.gl/maps/tRo9sHyuS8WyrZdP9",
"Number": 140,
"Street": "Dudley St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.032724, 40.720216]
},
"properties": {
"id": "amenity-15",
"Name": "New York Sports Clubs",
"Category": "Fitness",
"Address": "147 Harborside Financial Center Platform 147 Plaza Two, Jersey City, NJ 07311, United States",
"Google Business URL": "https://goo.gl/maps/CTHBH9dGofWur2R18",
"Number": null,
"Street": "",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7311,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.039921, 40.721022]
},
"properties": {
"id": "amenity-16",
"Name": "CKO Kickboxing",
"Category": "Fitness",
"Address": "150 Bay St, Jersey City, NJ 07302, United States",
"Google Business URL": "https://goo.gl/maps/DNYcY6vYRi9jcmTK6",
"Number": 150,
"Street": "Bay St",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.03559, 40.726915]
},
"properties": {
"id": "amenity-17",
"Name": "Club Metro USA",
"Category": "Fitness",
"Address": "525 Washington Blvd, Jersey City, NJ 07310, United States",
"Google Business URL": "https://goo.gl/maps/Jnpu4A5HFUTQXh4m7",
"Number": 525,
"Street": "Washington Blvd",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7310,
"Country": "US"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.042259, 40.719496]
},
"properties": {
"id": "amenity-18",
"Name": "Base",
"Category": "Fitness",
"Address": "60 Christopher Columbus Dr, Jersey City, NJ 07302, United States",
"Google Business URL": "https://goo.gl/maps/citSuDKPvwHMv3gF8",
"Number": 60,
"Street": "Christopher Columbus Dr",
"Unit Type": "",
"Unit Number": null,
"City": "Jersey City",
"State": "NJ",
"County": "Hudson County",
"Zip": 7302,