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

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