diff --git a/src/ol/deviceorientation.js b/src/ol/deviceorientation.js index aab556ebef..b7d87fe9b9 100644 --- a/src/ol/deviceorientation.js +++ b/src/ol/deviceorientation.js @@ -140,6 +140,7 @@ ol.DeviceOrientation.prototype.orientationChange_ = function(browserEvent) { this.set(ol.DeviceOrientationProperty.GAMMA, goog.math.toRadians(event.gamma)); } + this.dispatchChangeEvent(); };