setConstrainResolution(enabled) {
    this.applyOptions_(this.getUpdatedOptions_({constrainResolution: enabled}));
  }
Set whether the view should allow intermediary zoom levels.
@param {boolean} enabled Whether the resolution is constrained.
@api