change indentation.
This commit is contained in:
+24
-24
@@ -10,23 +10,23 @@ goog.require('ol.Projection');
|
|||||||
*/
|
*/
|
||||||
ol.Map = function() {
|
ol.Map = function() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.Projection}
|
* @type {ol.Projection}
|
||||||
*/
|
*/
|
||||||
this.projection_ = new ol.Projection();
|
this.projection_ = new ol.Projection();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.Loc}
|
* @type {ol.Loc}
|
||||||
*/
|
*/
|
||||||
this.location_ = new ol.Loc(0, 0);
|
this.location_ = new ol.Loc(0, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.zoom_ = 0;
|
this.zoom_ = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ ol.Map = function() {
|
|||||||
* @return {ol.Loc} Location.
|
* @return {ol.Loc} Location.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.getCenter = function() {
|
ol.Map.prototype.getCenter = function() {
|
||||||
return this.center_;
|
return this.center_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ ol.Map.prototype.getCenter = function() {
|
|||||||
* @return {ol.Projection} Projection.
|
* @return {ol.Projection} Projection.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.getProjection = function() {
|
ol.Map.prototype.getProjection = function() {
|
||||||
return this.projection_;
|
return this.projection_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ ol.Map.prototype.getProjection = function() {
|
|||||||
* @return {number} Zoom.
|
* @return {number} Zoom.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.getZoom = function() {
|
ol.Map.prototype.getZoom = function() {
|
||||||
return this.zoom_;
|
return this.zoom_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -60,8 +60,8 @@ ol.Map.prototype.getZoom = function() {
|
|||||||
* @return {ol.Map} This.
|
* @return {ol.Map} This.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.setCenter = function(center) {
|
ol.Map.prototype.setCenter = function(center) {
|
||||||
this.center_ = center;
|
this.center_ = center;
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -70,8 +70,8 @@ ol.Map.prototype.setCenter = function(center) {
|
|||||||
* @return {ol.Map} This.
|
* @return {ol.Map} This.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.setProjection = function(projection) {
|
ol.Map.prototype.setProjection = function(projection) {
|
||||||
this.projection_ = projection;
|
this.projection_ = projection;
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -80,6 +80,6 @@ ol.Map.prototype.setProjection = function(projection) {
|
|||||||
* @return {ol.Map} This.
|
* @return {ol.Map} This.
|
||||||
*/
|
*/
|
||||||
ol.Map.prototype.setZoom = function(zoom) {
|
ol.Map.prototype.setZoom = function(zoom) {
|
||||||
this.zoom_ = zoom;
|
this.zoom_ = zoom;
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user