Rename _ol_control_Zoom_ to Zoom

This commit is contained in:
Tim Schaub
2017-12-14 13:07:36 -07:00
parent 4200f8e73e
commit fb8fb42d81
3 changed files with 12 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
import _ol_Collection_ from './Collection.js';
import Attribution from './control/Attribution.js';
import Rotate from './control/Rotate.js';
import _ol_control_Zoom_ from './control/Zoom.js';
import Zoom from './control/Zoom.js';
var _ol_control_ = {};
@@ -28,7 +28,7 @@ _ol_control_.defaults = function(opt_options) {
var zoomControl = options.zoom !== undefined ? options.zoom : true;
if (zoomControl) {
controls.push(new _ol_control_Zoom_(options.zoomOptions));
controls.push(new Zoom(options.zoomOptions));
}
var rotateControl = options.rotate !== undefined ? options.rotate : true;