forked from MusikAnimal/locality.nyc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·122 lines (119 loc) · 5.69 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
<!DOCTYPE html>
<html>
<head>
<title>locality.nyc - exploring the neighborhoods of New York City</title>
<script src='https://maps.googleapis.com/maps/api/js?key=AIzaSyBhmjsRow4-pvZUzsPdYtoS6hyGAu-HqfI&v=3.exp&sensor=true'></script>
<script src='application.js'></script>
<script src='data.js'></script>
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<link href='application.css' rel='stylesheet' type='text/css'>
<link href='favicon.ico' rel='shortcut icon' sizes='16x16 32x32 96x96'>
<link href='images/icons/apple-icon-57x57.png' rel='apple-touch-icon' sizes='57x57'>
<link href='images/icons/apple-icon-precomposed.png' rel='apple-touch-icon-,precomposed' sizes='57x57'>
<link href='images/icons/apple-icon-72x72.png' rel='apple-touch-icon' sizes='72x72'>
<link href='images/icons/apple-icon-114x114.png' rel='apple-touch-icon' sizes='114x114'>
<link href='images/icons/apple-icon-120x120.png' rel='apple-touch-icon' sizes='120x120'>
<link href='images/icons/apple-icon-144x144.png' rel='apple-touch-icon' sizes='144x144'>
<link href='images/icons/apple-icon-152x152.png' rel='apple-touch-icon' sizes='152x152'>
<meta content='yes' name='apple-mobile-web-app-capable'>
<meta content='black-translucent' name='apple-mobile-web-app-status-bar-style'>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0' name='viewport'>
<meta content='Exploring the neighborhoods of New York City.' name='description'>
<meta content='app-id=1015732590' name='apple-itunes-app'>
<!-- %meta{property: "al:android:url", content: "localitynyc://"} -->
<!-- %meta{property: "al:android:package", content: "com.musikanimal.locality.nyc"} -->
<!-- %meta{property: "al:android:app_name", content: "locality.nyc"} -->
<!-- %meta{property: "og:title", content: "locality.nyc"} -->
<!-- %meta{property: "og:type", content: "website"} -->
</head>
<body itemscope itemtype='http://schema.org/Map'>
<nav>
<header>
<h1 itemprop='name'>locality.nyc</h1>
<div class='site-description' itemprop='description'>Exploring the neighborhoods of New York City</div>
<div class='site-keywords' itemprop='keywords'>new york city map nyc neighborhoods boundaries manhattan brooklyn queens the bronx staten island nyc neighborhoods map</div>
<div id='offline_notice'>You Are Offline</div>
</header>
<form id='find_address'>
<div class='search-wrapper'>
<input autocomplete='off' id='address' list='neighborhood_select' placeholder='Address, neighborhood, landmark...' required>
<ul id='polyfill_select'></ul>
</div>
<datalist id='neighborhood_select'></datalist>
<a href='javascript:' id='reset_address'>✕</a>
<button></button>
</form>
<div class='neighborhood-selector'>
<span class='borough-select push-state' data-url='manhattan' itemprop='keywords'>Manhattan</span>
<span class='borough-select push-state' data-url='brooklyn' itemprop='keywords'>Brooklyn</span>
<span class='borough-select push-state' data-url='queens' itemprop='keywords'>Queens</span>
<span class='borough-select push-state' data-url='bronx' itemprop='keywords'>The Bronx</span>
<span class='borough-select' data-url='staten_island' itemprop='keywords'>Staten Island</span>
</div>
</nav>
<section id='info'></section>
<section id='social'>
<a class='app-store' href='https://itunes.apple.com/us/app/locality.nyc/id1015732590?ls=1&mt=8' target='_blank'></a>
<a class='play-store' href='https://play.google.com/store/apps/details?id=com.musikanimal.locality.nyc' target='_blank'></a>
</section>
<section id='controls'>
<div class='map-controls'>
<div id='show_hide_zones'>
<img src='images/layers.png'>
</div>
<div id='mylocation'>
<img src='images/mylocation.png'>
</div>
<div>
<div id='zoom_in'>
<img src='images/plus.png'>
</div>
<div id='zoom_out'>
<img src='images/minus.png'>
</div>
</div>
</div>
</section>
<section class='style-selectors'>
<span class='variation-btn' data-variation='pale_dawn'>Pale Dawn</span>
<span class='variation-btn' data-variation='greyscale'>Greyscale</span>
<span class='variation-btn' data-variation='old_map'>Old map</span>
<span class='variation-btn' data-variation='retro'>Retro</span>
<span class='variation-btn' data-variation='default'>Normal</span>
</section>
<footer itemscope itemtype='http://schema.org/WPFooter' role='contentinfo'>
Copyright © 2014-2016 MusikAnimal
·
<a href='mailto:[email protected]?subject=locality.nyc'>Feedback</a>
</footer>
<footer class='mobile-footer'>
© MusikAnimal
·
<a href='mailto:[email protected]?subject=locality.nyc'>Feedback</a>
</footer>
<main>
<div id='canvas'></div>
</main>
<script>
try {
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.src = 'cordova.js';
head.appendChild(script);
app.initialize();
script.src = 'init.js';
head.appendChild(script);
$("body").on("click", "a", function(e) {
var href = $(this).attr("href");
if(href.match(/^http/) || mobileCheck()) {
window.open(href, "_system");
e.preventDefault();
return false;
}
});
} catch(e) {
$.noop();
}
</script>
</body>
</html>