diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js index c46d5ceb2e..1dcd677b68 100644 --- a/src/ol/geolocation.js +++ b/src/ol/geolocation.js @@ -192,12 +192,12 @@ ol.Geolocation.prototype.getAccuracy = function() { /** * Get a geometry of the position accuracy. - * @return {?ol.geom.Geometry} A geometry of the position accuracy. + * @return {?ol.geom.Polygon} A geometry of the position accuracy. * @observable * @api */ ol.Geolocation.prototype.getAccuracyGeometry = function() { - return /** @type {?ol.geom.Geometry} */ ( + return /** @type {?ol.geom.Polygon} */ ( this.get(ol.GeolocationProperty.ACCURACY_GEOMETRY) || null); };