Add OverviewMap control
This commit is contained in:
14
src/ol/ol.js
14
src/ol/ol.js
@@ -187,6 +187,20 @@ ol.MOUSEWHEELZOOM_MAXDELTA = 1;
|
||||
ol.MOUSEWHEELZOOM_TIMEOUT_DURATION = 80;
|
||||
|
||||
|
||||
/**
|
||||
* @define {number} Maximum width and/or height extent ratio that determines
|
||||
* when the overview map should be zoomed out.
|
||||
*/
|
||||
ol.OVERVIEWMAP_MAX_RATIO = 0.75;
|
||||
|
||||
|
||||
/**
|
||||
* @define {number} Minimum width and/or height extent ratio that determines
|
||||
* when the overview map should be zoomed in.
|
||||
*/
|
||||
ol.OVERVIEWMAP_MIN_RATIO = 0.1;
|
||||
|
||||
|
||||
/**
|
||||
* @define {number} Rotate animation duration.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user