-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (133 loc) · 8.01 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Free and open-source styles for your maps, with current position detection.">
<meta name="keywords" content="google,maps,google maps,styled maps,styles,color,schemes,themes,HTML,CSS,XML,JavaScript,maps,google-maps-api,javascript,current-location,styles,css,js,json,template-engine,template">
<meta name="author" content="Ayoub Gharbi">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gharbi's MAP</title>
<link rel="shortcut icon" href="https://freeiconshop.com/wp-content/uploads/edd/location-marker-flat.png">
<link rel="stylesheet" href="css/main.css">
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD-cylYXk7D3NvvOEhscctAk0PRJTdAOLk&libraries=places&callback=initAutocomplete"
async defer></script>
<script src="js/main.js"></script>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<!--Start Header-->
<header>
<div class="navbar navbar-default" style="margin-bottom: 0">
<div class="container">
<div class="navbar-header">
<button button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"
aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<i class="glyphicon glyphicon-align-center"></i>
</button>
<a href="" class="navbar-brand">Gharbi's MAP</a>
</div>
<div id="navbar" class="collapse navbar-collapse navbar-responsive-collapse">
<!-- Navbar Links -->
<ul class="nav navbar-nav navbar-left">
<li>
<a href="" data-toggle="modal" data-target=".bs-example-modal-lg">
<b>Change Style</b>
</a>
</li>
<li>
<a href="#" onclick="getCPosition();">
<b>Current position</b>
</a>
</li>
</ul>
<div class="navbar-form navbar-right" role="search" method="get" id="searchform" action="">
<div class="form-group">
<input id="pac-input" class="form-control mr-sm-2" type="search" placeholder="SearchBox" aria-label="Search">
</div>
</div>
</div>
</div>
</div>
</header>
<!--End Header-->
<div id="map"></div>
<!-- Start Modal-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" style="width: 50%">
<div class="modal-content">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img class="img-responsive" src="./images/151-ultra-light-with-labels.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(3)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/blue-style-image.png" alt="..." width="100%">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(0)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/38-shades-of-grey.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(1)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/8007-black-and-white-without-labels.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(2)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/28-bluish.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(4)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/225554-weird-realms.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(5)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/OSM.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(6)">Select Style</button>
</div>
</div>
<div class="item">
<img class="img-responsive" src="./images/standard-style.png" width="100%" alt="...">
<div class="carousel-caption">
<button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg" onclick="UpdateStyle(7)">Select Style</button>
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
</div>
</div>
</div>
<!-- Start Modal-->
<script src="./js/styles/lost _in_the_desert_style.js"></script>
<script src="./js/styles/shades-of-grey_style.js"></script>
<script src="./js/styles/subtle-grayscale_style.js"></script>
<script src="./js/styles/ultra-light-with-labels_style.js"></script>
<script src="./js/styles/black-and-white-without-labels.js"></script>
<script src="./js/styles/bluish.js"></script>
<script src="./js/styles/weird-realms_style.js"></script>
</body>
</html>