Constraint objects moved to ol namespace from ol.interaction namespace
This commit is contained in:
@@ -5,6 +5,7 @@ goog.require('goog.dom.TagName');
|
||||
goog.require('goog.events');
|
||||
goog.require('goog.events.EventType');
|
||||
goog.require('ol.Projection');
|
||||
goog.require('ol.ResolutionConstraint');
|
||||
goog.require('ol.control.Control');
|
||||
|
||||
|
||||
@@ -30,9 +31,8 @@ ol.control.Zoom = function(map, opt_resolutions) {
|
||||
* @type {Function}
|
||||
* @private
|
||||
*/
|
||||
this.constraint_ =
|
||||
ol.interaction.ResolutionConstraint.createSnapToResolutions(
|
||||
opt_resolutions);
|
||||
this.constraint_ = ol.ResolutionConstraint.createSnapToResolutions(
|
||||
opt_resolutions);
|
||||
|
||||
/**
|
||||
* @type {Element}
|
||||
|
||||
Reference in New Issue
Block a user