Handle minZoom in getZoom and setZoom

This commit is contained in:
Tim Schaub
2014-05-15 17:27:53 -06:00
parent 815f5b38c8
commit 3793f33acf
5 changed files with 177 additions and 23 deletions
+8
View File
@@ -16,11 +16,19 @@ ol.BUFFER_REPLACE_UNUSED_ENTRIES_WITH_NANS = goog.DEBUG;
/**
* TODO: rename this to something having to do with tile grids
* see https://github.com/openlayers/ol3/issues/2076
* @define {number} Default maximum zoom for default tile grids.
*/
ol.DEFAULT_MAX_ZOOM = 42;
/**
* @define {number} Default min zoom level for the map view. Default is `0`.
*/
ol.DEFAULT_MIN_ZOOM = 0;
/**
* @define {number} Default high water mark.
*/