No longer tap-selecting elements on touch devices
This finalizes the effort to improve map browser event handling.
This commit is contained in:
10
css/ol.css
10
css/ol.css
@@ -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%; }
|
.ol-renderer-webgl-canvas { width:100%; height:100%; }
|
||||||
|
|
||||||
.olTile {
|
.olTile {
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
|
||||||
<title>ol3 full-screen demo</title>
|
<title>ol3 full-screen demo</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
|
||||||
<script src="../../build/proj4js-combined.js" type="text/javascript"></script>
|
<script src="../../build/proj4js-combined.js" type="text/javascript"></script>
|
||||||
<script src="@SRC@" type="text/javascript"></script>
|
<script src="@SRC@" type="text/javascript"></script>
|
||||||
<title>ol3 proj4js demo</title>
|
<title>ol3 proj4js demo</title>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
border: thin solid;
|
border: thin solid;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
|
||||||
<title>ol3 side-by-side demo</title>
|
<title>ol3 side-by-side demo</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
border: thin solid;
|
border: thin solid;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<link rel="stylesheet" href="../../css/ol.css" type="text/css">
|
||||||
<title>ol3 two-layers demo</title>
|
<title>ol3 two-layers demo</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// FIXME better map browser event types
|
|
||||||
// FIXME recheck layer/map projection compatability when projection changes
|
// FIXME recheck layer/map projection compatability when projection changes
|
||||||
// FIXME layer renderers should skip when they can't reproject
|
// FIXME layer renderers should skip when they can't reproject
|
||||||
// FIXME add tilt and height?
|
// FIXME add tilt and height?
|
||||||
|
|||||||
Reference in New Issue
Block a user