s/View/Control/, thanks @elemoine

This commit is contained in:
Tom Payne
2012-08-13 15:18:17 +02:00
parent 208db33bfc
commit ec3475806e
3 changed files with 25 additions and 24 deletions

33
src/ol/control/control.js Normal file
View File

@@ -0,0 +1,33 @@
goog.provide('ol.Control');
goog.require('ol.Map');
/**
* @constructor
* @param {ol.Map} map Map.
*/
ol.Control = function(map) {
/**
* @private
* @type {ol.Map}
*/
this.map_ = map;
};
/**
* @return {Element} Element.
*/
ol.Control.prototype.getElement = goog.abstractMethod;
/**
* @return {ol.Map} Map.
*/
ol.Control.prototype.getMap = function() {
return this.map_;
};