Direct all pointer events to js code (IE pointer events).

see: http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx
This commit is contained in:
Frederic Junod
2013-01-25 09:02:49 +01:00
parent bf63ddfebe
commit 9c794d8b00

View File

@@ -189,6 +189,7 @@ ol.Map = function(mapOptions) {
this.viewport_.style.overflow = 'hidden';
this.viewport_.style.width = '100%';
this.viewport_.style.height = '100%';
this.viewport_.style.msTouchAction = 'none';
goog.dom.appendChild(this.target_, this.viewport_);
/**