Control in the ol.control namespace.

This commit is contained in:
Tim Schaub
2012-09-24 17:15:30 +02:00
parent 1f9e2aa3c4
commit ed754fbfdf
3 changed files with 10 additions and 10 deletions

View File

@@ -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);
/**

View File

@@ -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_;
};

View File

@@ -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);
/**