From a679bb7bef570ceae3e139353edb74b508c8955e Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 6 Feb 2013 10:59:18 +0100 Subject: [PATCH] Set handleProjectionChanged from protected to private --- src/ol/geolocation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/geolocation.js b/src/ol/geolocation.js index 1816b89849..7e4a9ed667 100644 --- a/src/ol/geolocation.js +++ b/src/ol/geolocation.js @@ -38,7 +38,7 @@ ol.Geolocation = function(opt_positionOptions) { goog.events.listen( this, ol.Object.getChangedEventType(ol.GeolocationProperty.PROJECTION), - this.handleProjectionChanged, false, this); + this.handleProjectionChanged_, false, this); /** * @private @@ -62,9 +62,9 @@ ol.Geolocation.prototype.disposeInternal = function() { /** - * @protected + * @private */ -ol.Geolocation.prototype.handleProjectionChanged = function() { +ol.Geolocation.prototype.handleProjectionChanged_ = function() { this.transformCoords_ = ol.Projection.getTransform( ol.Projection.getFromCode('EPSG:4326'), this.getProjection()); if (!goog.isNull(this.position_)) {