Remove unconditionally exported methods
This commit is contained in:
@@ -252,10 +252,6 @@ ol.View.prototype.getCenter = function() {
|
||||
return /** @type {ol.Coordinate|undefined} */ (
|
||||
this.get(ol.ViewProperty.CENTER));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'getCenter',
|
||||
ol.View.prototype.getCenter);
|
||||
|
||||
|
||||
/**
|
||||
@@ -308,10 +304,6 @@ ol.View.prototype.getResolution = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
this.get(ol.ViewProperty.RESOLUTION));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'getResolution',
|
||||
ol.View.prototype.getResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -364,10 +356,6 @@ ol.View.prototype.getResolutionForValueFunction = function(opt_power) {
|
||||
ol.View.prototype.getRotation = function() {
|
||||
return /** @type {number} */ (this.get(ol.ViewProperty.ROTATION));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'getRotation',
|
||||
ol.View.prototype.getRotation);
|
||||
|
||||
|
||||
/**
|
||||
@@ -596,10 +584,6 @@ ol.View.prototype.rotate = function(rotation, opt_anchor) {
|
||||
ol.View.prototype.setCenter = function(center) {
|
||||
this.set(ol.ViewProperty.CENTER, center);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'setCenter',
|
||||
ol.View.prototype.setCenter);
|
||||
|
||||
|
||||
/**
|
||||
@@ -626,10 +610,6 @@ ol.View.prototype.setHint = function(hint, delta) {
|
||||
ol.View.prototype.setResolution = function(resolution) {
|
||||
this.set(ol.ViewProperty.RESOLUTION, resolution);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'setResolution',
|
||||
ol.View.prototype.setResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -641,10 +621,6 @@ goog.exportProperty(
|
||||
ol.View.prototype.setRotation = function(rotation) {
|
||||
this.set(ol.ViewProperty.ROTATION, rotation);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.View.prototype,
|
||||
'setRotation',
|
||||
ol.View.prototype.setRotation);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user