JavaScript API reference for Basic Zoom Viewer.
setParams( *
params*)
Sets one or more parameters to a given value. The method argument syntax is identical to a URL query string. That is, it represents name=value pairs separated with &
. As in a query string, the names and values are percent-encoded using UTF8. Before you call init()
, this parameter must be called.
This method is optional if the viewer configuration information was passed with config
JSON object to constructor.
See also init.