Constraint objects moved to ol namespace from ol.interaction namespace

This commit is contained in:
Éric Lemoine
2012-09-27 00:01:44 +02:00
parent b6bb05bf76
commit 79166dc1d6
10 changed files with 63 additions and 68 deletions
+3 -3
View File
@@ -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}