Move DEFAULT_MIN_ZOOM to the one place it is used
This commit is contained in:
+8
-1
@@ -2,7 +2,7 @@
|
||||
* @module ol/View
|
||||
*/
|
||||
import {DEFAULT_TILE_SIZE} from './tilegrid/common.js';
|
||||
import {DEFAULT_MIN_ZOOM, inherits, getUid, nullFunction} from './index.js';
|
||||
import {inherits, getUid, nullFunction} from './index.js';
|
||||
import _ol_CenterConstraint_ from './CenterConstraint.js';
|
||||
import _ol_Object_ from './Object.js';
|
||||
import _ol_ResolutionConstraint_ from './ResolutionConstraint.js';
|
||||
@@ -22,6 +22,13 @@ import _ol_obj_ from './obj.js';
|
||||
import _ol_proj_ from './proj.js';
|
||||
import _ol_proj_Units_ from './proj/Units.js';
|
||||
|
||||
|
||||
/**
|
||||
* @type {number} Default min zoom level for the map view.
|
||||
*/
|
||||
var DEFAULT_MIN_ZOOM = 0;
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* An ol.View object represents a simple 2D view of the map.
|
||||
|
||||
Reference in New Issue
Block a user