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>
|
||||
<head>
|
||||
<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">
|
||||
<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>
|
||||
@@ -25,9 +25,6 @@
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
#log {
|
||||
display: none;
|
||||
}
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -129,6 +126,5 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -68,16 +68,12 @@ function updatePosition(pos) {
|
||||
var log = [];
|
||||
function updateLog(message) {
|
||||
log.push(message);
|
||||
var div = document.createElement("div");
|
||||
div.appendChild(document.createTextNode(message));
|
||||
document.getElementById("log").appendChild(div);
|
||||
if (window.console) {
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
function clearLog() {
|
||||
log.length = 0;
|
||||
document.getElementById("log").innerHTML = "";
|
||||
}
|
||||
|
||||
function pan(fx, fy) {
|
||||
|
||||
Reference in New Issue
Block a user