forked from redcap3000/removetrail
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmobile.html
More file actions
30 lines (27 loc) · 687 Bytes
/
mobile.html
File metadata and controls
30 lines (27 loc) · 687 Bytes
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
<html>
<head>
<title>reMoveTrail-mobile</title>
</head>
<body>
<img id="main" src=""/>
<script>
var googleStatic = 'https://maps.googleapis.com/maps/api/staticmap?';
var query = {
'center' : [61.2181,149.9003],
'zoom' : 10,
'size' : '200x200',
'maptype' : 'roadmap',
//'markers' :[ 0
//]
};
var count = 0;
for(var k in query){
googleStatic += k + '=' + query[k] + (count < 5 ? '&' : '');
count++;
console.log('count : ' + count)
}
// console.log(token);
console.log(googleStatic);
document.getElementById("main").src = googleStatic;
</script>
</body>