diff --git a/src/ol/geolocation.exports b/src/ol/geolocation.exports index 18d54d9805..3040f335d7 100644 --- a/src/ol/geolocation.exports +++ b/src/ol/geolocation.exports @@ -1 +1,2 @@ @exportClass ol.Geolocation ol.GeolocationOptions +@exportSymbol ol.Geolocation.SUPPORTED ol.Geolocation.SUPPORTED diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js index 5b7f55f66d..8b04ab8030 100644 --- a/src/ol/geolocation.js +++ b/src/ol/geolocation.js @@ -142,10 +142,6 @@ ol.Geolocation.prototype.handleTrackingChanged_ = function() { * @type {boolean} */ ol.Geolocation.SUPPORTED = 'geolocation' in goog.global.navigator; -goog.exportProperty( - ol.Geolocation, - 'SUPPORTED', - ol.Geolocation.SUPPORTED); /**