Skip to content

Commit 4d1d30f

Browse files
committed
Update the example
1 parent 7a9f89c commit 4d1d30f

22 files changed

Lines changed: 1697 additions & 330 deletions

example/DemoApp2/www/css/app.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
html, body, #map_canvas {
2+
width: 100%;
3+
height: 100%;
4+
margin: 0;
5+
padding: 0;
6+
left: 0;
7+
top: 0;
8+
}
9+
pre.prettyprint {
10+
display: block;
11+
background-color: rgba(200, 200, 200, 0.75);
12+
}
13+
button {
14+
position: fixed;
15+
border: 0 none #ffffff;
16+
background-color: #4285F4;
17+
border-radius: 3px;
18+
left: 10%;
19+
color: white;
20+
bottom: 10%;
21+
width: 80%;
22+
height: 10%;
23+
z-index: 2;
24+
font-size: 150%;
25+
}
26+
.container {
27+
position: fixed;
28+
left: 5%;
29+
top: 5%;
30+
right: 5%;
31+
background-color: rgba(255, 255, 255, .7);
32+
border:1px solid black;
33+
padding: 1%;
34+
font-size: 150%;
35+
display: inline-block;
36+
overflow: scroll;
37+
}
38+
39+
button#nextBtn {
40+
display: none;
41+
}
42+
strong {
43+
font-size: 150%;
44+
font-weight: bold;
45+
}

example/DemoApp2/www/index.html

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,56 +6,14 @@
66
<title>Google Maps Plugin for Cordova</title>
77
<link rel="stylesheet" type="text/css" href="css/animate.css" />
88
<link href="css/prettify.css" type="text/css" rel="stylesheet" />
9+
<link href="css/app.css" type="text/css" rel="stylesheet" />
910
<script type="text/javascript" src="cordova.js"></script>
1011
<script type="text/javascript" src="js/prettify.js"></script>
1112
<script type="text/javascript" src="js/jquery.min.js"></script>
13+
<script type="text/javascript" src="js/jquery.fittext.js"></script>
1214
<script type="text/javascript" src="js/example.js"></script>
13-
<style type="text/css">
14-
html, body, #map_canvas {
15-
width: 100%;
16-
height: 100%;
17-
margin: 0;
18-
padding: 0;
19-
position: absolute;
20-
left: 0;
21-
top: 0;
22-
}
23-
pre.prettyprint {
24-
display: block;
25-
overflow: scroll;
26-
position: absolute;
27-
left: 2%;
28-
right: 2%;
29-
bottom: 15%;
30-
top: 20%;
31-
background-color: rgba(200, 200, 200, 0.75);
32-
}
33-
button {
34-
position: fixed;
35-
border: 0 none #ffffff;
36-
background-color: #4285F4;
37-
border-radius: 3px;
38-
left: 10%;
39-
right: 10%;
40-
height: 10%;
41-
color: white;
42-
bottom: 10%;
43-
}
44-
.container {
45-
position: fixed;
46-
left: 5%;
47-
top: 5%;
48-
bottom: 5%;
49-
right: 5%;
50-
background-color: rgba(255, 255, 255, .7);
51-
border:1px solid black;
52-
overflow: hidden;
53-
padding: 1% 1% 15% 1%;
54-
display: scroll;
55-
}
56-
</style>
5715
</head>
5816
<body>
5917
<div id="map_canvas" ></div>
6018
</body>
61-
</html>
19+
</html>

0 commit comments

Comments
 (0)