-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapa.html
62 lines (54 loc) · 2.22 KB
/
mapa.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/ionic.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<title>Mapa</title>
<script>
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
var mapa = getCookie('mapa');
//"https://www.citapp.net/logistica/sistema_api_apk_27ds45/track/?id="+mapa
</script>
</head>
<body>
<div class="bar bar-header">
<a href="index.html" class="button button-clear">< Atras</a>
<h1 class="title">Mapa de seguimiento</h1>
</div>
<div class="padding" style="margin-top:75px;">
<button class="button button-block button-positive" onClick="window.location.reload();">Refrescar Mapa</button><br/>
<object id="mapa2" data="" type="text/html" style="width:100%;height:1000px;"></object>
</div>
<script type="text/javascript" src="cordova.js"></script>
<!--<script type="text/javascript" src="js/jq.js"></script>-->
<script type="text/javascript" src="js/auth.js"></script>
<script>
(function() {
var scrt_var = 10;
var strLink = "https://www.citapp.net/logistica/sistema_api_apk_27ds45/track/?id="+mapa
document.getElementById("mapa2").setAttribute("data",strLink);
})();
</script>
</body>
</html>