Rename ol.Projection to ol.proj.Projection

This commit is contained in:
Tim Schaub
2013-08-30 14:19:05 -06:00
parent b192335e56
commit 3b20cc7b53
29 changed files with 119 additions and 119 deletions
+3 -3
View File
@@ -7,7 +7,6 @@ goog.require('goog.asserts');
goog.require('ol.Constraints');
goog.require('ol.IView2D');
goog.require('ol.IView3D');
goog.require('ol.Projection');
goog.require('ol.ProjectionUnits');
goog.require('ol.ResolutionConstraint');
goog.require('ol.RotationConstraint');
@@ -17,6 +16,7 @@ goog.require('ol.View');
goog.require('ol.coordinate');
goog.require('ol.extent');
goog.require('ol.proj');
goog.require('ol.proj.Projection');
/**
@@ -234,7 +234,7 @@ ol.View2D.prototype.calculateExtent = function(size) {
* @inheritDoc
*/
ol.View2D.prototype.getProjection = function() {
return /** @type {ol.Projection|undefined} */ (
return /** @type {ol.proj.Projection|undefined} */ (
this.get(ol.View2DProperty.PROJECTION));
};
goog.exportProperty(
@@ -425,7 +425,7 @@ goog.exportProperty(
/**
* Set the projection of this view.
* @param {ol.Projection|undefined} projection Projection.
* @param {ol.proj.Projection|undefined} projection Projection.
*/
ol.View2D.prototype.setProjection = function(projection) {
this.set(ol.View2DProperty.PROJECTION, projection);