I'm using Adobe Scene7 BasicZoomViewer and I'm trying to adjust the max zoom resolution but nothing I'm trying has worked.
The docs definitely suggest this should be possible but like I said, so far nothing has worked.
Small example of what I've tried
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
}
}
})
To adjust the zoomstep you need to insert a zoomstep property to the BasicZoomViewer constructor config object.
This also goes for all of the Config Properties mentioned in the docs.
Note
These config properties can also be placed on the URL of the page instead of the Viewers config object.
Example: https://example.com?zoomstep=1,1 would achieve the same goal as placing the zoomstep on the config object.