Add ol.View

This commit is contained in:
Tom Payne
2012-07-30 22:13:32 +02:00
parent fdfe23faac
commit 71201340cc

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

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