diff --git a/src/ol/control/attribution.js b/src/ol/control/attribution.js index eae44dc2e4..b8eb0a48b7 100644 --- a/src/ol/control/attribution.js +++ b/src/ol/control/attribution.js @@ -12,7 +12,7 @@ goog.require('goog.events.EventType'); goog.require('goog.object'); goog.require('goog.style'); goog.require('ol.Collection'); -goog.require('ol.Control'); +goog.require('ol.control.Control'); goog.require('ol.CoverageArea'); goog.require('ol.layer.Layer'); goog.require('ol.MapProperty'); @@ -22,7 +22,7 @@ goog.require('ol.TileCoverageArea'); /** * @constructor - * @extends {ol.Control} + * @extends {ol.control.Control} * @param {ol.Map} map Map. */ ol.control.Attribution = function(map) { @@ -77,7 +77,7 @@ ol.control.Attribution = function(map) { this.handleMapLayersChanged(); }; -goog.inherits(ol.control.Attribution, ol.Control); +goog.inherits(ol.control.Attribution, ol.control.Control); /** diff --git a/src/ol/control/control.js b/src/ol/control/control.js index d6b66c1bf1..60f8a22959 100644 --- a/src/ol/control/control.js +++ b/src/ol/control/control.js @@ -1,4 +1,4 @@ -goog.provide('ol.Control'); +goog.provide('ol.control.Control'); goog.require('ol.Map'); @@ -8,7 +8,7 @@ goog.require('ol.Map'); * @constructor * @param {ol.Map} map Map. */ -ol.Control = function(map) { +ol.control.Control = function(map) { /** * @private @@ -22,12 +22,12 @@ ol.Control = function(map) { /** * @return {Element} Element. */ -ol.Control.prototype.getElement = goog.abstractMethod; +ol.control.Control.prototype.getElement = goog.abstractMethod; /** * @return {ol.Map} Map. */ -ol.Control.prototype.getMap = function() { +ol.control.Control.prototype.getMap = function() { return this.map_; }; diff --git a/src/ol/control/mouseposition.js b/src/ol/control/mouseposition.js index 4d558a7855..0797d1770b 100644 --- a/src/ol/control/mouseposition.js +++ b/src/ol/control/mouseposition.js @@ -4,7 +4,7 @@ goog.provide('ol.control.MousePosition'); goog.require('goog.events'); goog.require('goog.events.EventType'); -goog.require('ol.Control'); +goog.require('ol.control.Control'); goog.require('ol.MapProperty'); goog.require('ol.Object'); goog.require('ol.Projection'); @@ -14,7 +14,7 @@ goog.require('ol.TransformFunction'); /** * @constructor - * @extends {ol.Control} + * @extends {ol.control.Control} * @param {ol.Map} map Map. * @param {ol.Projection=} opt_projection Projection. * @param {ol.CoordinateFormatType=} opt_coordinateFormat Coordinate format. @@ -68,7 +68,7 @@ ol.control.MousePosition = this.handleMapProjectionChanged(); }; -goog.inherits(ol.control.MousePosition, ol.Control); +goog.inherits(ol.control.MousePosition, ol.control.Control); /**