Attempt to handle IE >= 10 pointer events

Using the same technique as Leaflet, this relays MSPointer events to touch
events. Using the simulator, I can verify that even pinch-zoom works with
this change, but the visual experience is a bit jumpy. Would be great if
people could test this on physical touch devices and see how it looks/feels
there.
This commit is contained in:
ahocevar
2013-04-16 11:18:17 +02:00
parent 80a6185947
commit 9cdc991b8c
4 changed files with 164 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ div.olMap {
div.olMapViewport {
text-align: left;
-ms-touch-action: none;
}
div.olLayerDiv {
+3
View File
@@ -43,6 +43,9 @@ div.olControlZoom a:hover {
background: rgba(0, 60, 136, 0.5);
}
}
div.olMapViewport {
-ms-touch-action: none;
}
.olLayerGrid .olTileImage {
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;