Remove unused log element.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11123 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>OpenLayers with jQuery Mobile</title>
|
<title>OpenLayers with jQuery Mobile</title>
|
||||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
|
||||||
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css">
|
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css">
|
||||||
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
|
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
|
||||||
<script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
|
<script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
|
||||||
@@ -25,9 +25,6 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
#log {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#map {
|
#map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -129,6 +126,5 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="log"></div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -68,16 +68,12 @@ function updatePosition(pos) {
|
|||||||
var log = [];
|
var log = [];
|
||||||
function updateLog(message) {
|
function updateLog(message) {
|
||||||
log.push(message);
|
log.push(message);
|
||||||
var div = document.createElement("div");
|
|
||||||
div.appendChild(document.createTextNode(message));
|
|
||||||
document.getElementById("log").appendChild(div);
|
|
||||||
if (window.console) {
|
if (window.console) {
|
||||||
console.log(message);
|
console.log(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function clearLog() {
|
function clearLog() {
|
||||||
log.length = 0;
|
log.length = 0;
|
||||||
document.getElementById("log").innerHTML = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function pan(fx, fy) {
|
function pan(fx, fy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user