diff --git a/lib/OpenLayers/Control/WMTSGetFeatureInfo.js b/lib/OpenLayers/Control/WMTSGetFeatureInfo.js index 851457ad66..f3aef15479 100644 --- a/lib/OpenLayers/Control/WMTSGetFeatureInfo.js +++ b/lib/OpenLayers/Control/WMTSGetFeatureInfo.js @@ -212,35 +212,6 @@ OpenLayers.Control.WMTSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, { } }, - /** - * Method: activate - * Activates the control. - * - * Returns: - * {Boolean} The control was effectively activated. - */ - activate: function () { - if (!this.active) { - this.handler.activate(); - } - return OpenLayers.Control.prototype.activate.apply( - this, arguments - ); - }, - - /** - * Method: deactivate - * Deactivates the control. - * - * Returns: - * {Boolean} The control was effectively deactivated. - */ - deactivate: function () { - return OpenLayers.Control.prototype.deactivate.apply( - this, arguments - ); - }, - /** * Method: getInfoForClick * Called on click @@ -425,18 +396,6 @@ OpenLayers.Control.WMTSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, { } } }, - - /** - * Method: setMap - * Set the map property for the control. - * - * Parameters: - * map - {} - */ - setMap: function(map) { - this.handler.setMap(map); - OpenLayers.Control.prototype.setMap.apply(this, arguments); - }, CLASS_NAME: "OpenLayers.Control.WMTSGetFeatureInfo" });