diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js index ce0ce45f5f..f9c1f87c26 100644 --- a/src/ol/geolocation.js +++ b/src/ol/geolocation.js @@ -183,6 +183,7 @@ ol.Geolocation.prototype.positionChange_ = function(position) { */ ol.Geolocation.prototype.positionError_ = function(error) { error.type = goog.events.EventType.ERROR; + this.setTracking(false); this.dispatchEvent(error); };