我正在使用Adobe Scene7 BasicZoomViewer,并且正在尝试调整最大缩放分辨率,但我尝试的任何方法都没有奏效。
文档明确建议这应该是可能的,但就像我说的那样,到目前为止没有任何效果。
我尝试过的小例子
var s7BasicZoomViewer = new s7viewers.BasicZoomViewer({
containerId: 's7viewer-' + iterator,
params: {
asset: assetUrl,
serverurl: serverUrl
},
handlers: {
initComplete: function () {
var zoomView = s7BasicZoomViewer.getComponent('zoomView')
// ive tried passing an object
zoomView.zoomStep = { step: 3, limit: 5 }
// ive tried directly setting it on the "zoomView" just like the docs suggest
zoomView.zoomStep = 2,5
}
}
})