No longer tap-selecting elements on touch devices

This finalizes the effort to improve map browser event handling.
This commit is contained in:
ahocevar
2012-09-25 19:32:08 +02:00
parent ef383ee7b6
commit 3c099a96b7
6 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
.ol-viewport {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ol-renderer-webgl-canvas { width:100%; height:100%; }
.olTile {

View File

@@ -10,6 +10,7 @@
height: 100%;
}
</style>
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
<title>ol3 full-screen demo</title>
</head>
<body>

View File

@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
<script src="../../build/proj4js-combined.js" type="text/javascript"></script>
<script src="@SRC@" type="text/javascript"></script>
<title>ol3 proj4js demo</title>

View File

@@ -8,6 +8,7 @@
border: thin solid;
}
</style>
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
<title>ol3 side-by-side demo</title>
</head>
<body>

View File

@@ -8,6 +8,7 @@
border: thin solid;
}
</style>
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
<title>ol3 two-layers demo</title>
</head>
<body>

View File

@@ -1,4 +1,3 @@
// FIXME better map browser event types
// FIXME recheck layer/map projection compatability when projection changes
// FIXME layer renderers should skip when they can't reproject
// FIXME add tilt and height?