mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Merge pull request #1479 from alanaberdeen/master
Documentation addition for viewer.world
This commit is contained in:
commit
0043956e2a
@ -85,7 +85,11 @@
|
||||
*/
|
||||
$.TiledImage = function( options ) {
|
||||
var _this = this;
|
||||
|
||||
/**
|
||||
* The {@link OpenSeadragon.TileSource} that defines this TiledImage.
|
||||
* @member {OpenSeadragon.TileSource} source
|
||||
* @memberof OpenSeadragon.TiledImage#
|
||||
*/
|
||||
$.console.assert( options.tileCache, "[TiledImage] options.tileCache is required" );
|
||||
$.console.assert( options.drawer, "[TiledImage] options.drawer is required" );
|
||||
$.console.assert( options.viewer, "[TiledImage] options.viewer is required" );
|
||||
|
@ -145,6 +145,8 @@ $.Viewer = function( options ) {
|
||||
|
||||
//These are originally not part options but declared as members
|
||||
//in initialize. It's still considered idiomatic to put them here
|
||||
//source is here for backwards compatibility. It is not an official
|
||||
//part of the API and should not be relied upon.
|
||||
source: null,
|
||||
/**
|
||||
* Handles rendering of tiles in the viewer. Created for each TileSource opened.
|
||||
@ -152,6 +154,11 @@ $.Viewer = function( options ) {
|
||||
* @memberof OpenSeadragon.Viewer#
|
||||
*/
|
||||
drawer: null,
|
||||
/**
|
||||
* Keeps track of all of the tiled images in the scene.
|
||||
* @member {OpenSeadragon.Drawer} world
|
||||
* @memberof OpenSeadragon.Viewer#
|
||||
*/
|
||||
world: null,
|
||||
/**
|
||||
* Handles coordinate-related functionality - zoom, pan, rotation, etc. Created for each TileSource opened.
|
||||
|
Loading…
Reference in New Issue
Block a user