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

View File

@@ -12,6 +12,9 @@ html, body, #map {
#title, #tags, #shortdesc {
display: none;
}
div.olMapViewport {
-ms-touch-action: none;
}
/* Turn on GPU support where available */
.olTileImage {