-
Notifications
You must be signed in to change notification settings - Fork 0
/
taxis.html
112 lines (95 loc) · 3.91 KB
/
taxis.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Taxis Evora</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="styles/main.css"> -->
<script src="http://maps.googleapis.com/maps/api/js"></script>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Transportes Publicos de Evora</a>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">Home</a></li>
<li><a href="trevo.html">trevo</a></li>
<li><a href="rodoviaria.html">rodalentejo</a></li>
<li class="active"><a href="taxis.html">Taxis</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="page-header">
<h3>Táxis</h3>
</div>
<div class="col-md-6">
<h4>Contactos</h4>
</div>
<div class="col-md-6">
<h4>Praças de Táxis</h4>
</div>
<div class="col-md-4">
<p>Táxis Ramalho & Carrilho Lda</p>
<strong>Tlm</strong>: +351 960 438 890 <br> +351 965 807 127 <br> +351 966 325 151
<br>
<strong>Email</strong>: <a href="mailto:[email protected]">[email protected]</a><br>
<strong>Facebook</strong>: <a href="https://www.facebook.com/taxievora34">https://www.facebook.com/taxievora34</a>
</div>
<div class="col-md-6">
<div id="googleMap" style="width:500px;height:380px;margin: 0 auto"></div>
</div>
</div>
</div>
<hr>
<div class="container">
<div class="col-xs-12">
<footer>
<p>© Projecto Integrado 2015/2016 - Eng. Informática - Universidade de Évora</p>
</footer>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script>
var map;
var comboios = new google.maps.LatLng(38.560335, -7.908078);
var estacao = new google.maps.LatLng(38.567787, -7.918346);
var giraldo = new google.maps.LatLng(38.570969, -7.909673);
// Google maps para as praças de taxis
var mapProp = {
center: new google.maps.LatLng(38.570969, -7.909673),
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
var marker = new google.maps.Marker({
position: comboios,
title: "Estação de Comboios"
});
marker.setMap(map);
var marker = new google.maps.Marker({
position: estacao,
title: "Rodoviária"
});
marker.setMap(map);
var marker = new google.maps.Marker({
position: giraldo,
title: "Praça do Giraldo"
});
marker.setMap(map);
//google.maps.event.trigger(map, "resize");
var bounds = new google.maps.LatLngBounds();
bounds.extend(estacao);
bounds.extend(comboios);
bounds.extend(giraldo);
map.fitBounds(bounds);
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</body>
</html>