I'm building a windows 8 js application with an Iframe that uses openlayers with google as the basemap. Everything is working except for the map navigation. When I try to pan or zoom with my finger, the whole page moves, not the map. How do I fix this?

1 Answer 1


I needed to add the style -ms-touch-action: none to the frame that the map was in. That made the frame stop moving and the map start moving.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.