remove debugger line
This commit is contained in:
+3
-3
@@ -26,13 +26,13 @@ ol.Map = function() {
|
|||||||
* @private
|
* @private
|
||||||
* @type {ol.Loc}
|
* @type {ol.Loc}
|
||||||
*/
|
*/
|
||||||
this.center_ = new ol.Loc(0, 0);
|
this.center_ = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.zoom_ = 0;
|
this.zoom_ = undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
@@ -135,7 +135,7 @@ ol.Map.prototype.getMaxExtent = function() {
|
|||||||
if (goog.isDefAndNotNull(this.maxExtent_)) {
|
if (goog.isDefAndNotNull(this.maxExtent_)) {
|
||||||
return this.maxExtent_;
|
return this.maxExtent_;
|
||||||
} else {
|
} else {
|
||||||
var extent = this.projection.getMaxExtent();
|
var extent = this.getProjection().getExtent();
|
||||||
if (goog.isDefAndNotNull(extent)) {
|
if (goog.isDefAndNotNull(extent)) {
|
||||||
return extent;
|
return extent;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user