Class Index | File Index

Classes


Class TiledImageStore.Fixed


Extends Store.

Defined in: Fixed.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Implements a store for image tiles that are only available at a fixed set of sizes and zoom levels.
Method Summary
Method Attributes Method Name and Description
 
Clear the store's cache of image elements.
 
getImages(scale, startBase, endBase)
Fetch an array of <img> elements for the image tiles that should be displayed for a certain magnification scale and section of the reference.
 
 
Remove the given image element from the cache.
Methods borrowed from class Store:
changed, hideAll, load, loadFail, setLoaded
Class Detail
TiledImageStore.Fixed(args)
Implements a store for image tiles that are only available at a fixed set of sizes and zoom levels. Most often used with pre-generated image tiles served statically.
Parameters:
args
Method Detail
clearCache()
Clear the store's cache of image elements.

getImages(scale, startBase, endBase)
Fetch an array of <img> elements for the image tiles that should be displayed for a certain magnification scale and section of the reference.
Parameters:
{Number} scale
the current ratio of pixels per base in the view
{Number} startBase
the start of the region (in interbase coordinates)
{Number} endBase
the end of the region (in interbase coordinates)

loadSuccess(o)
Parameters:
o

unCacheImage(im)
Remove the given image element from the cache.
Parameters:
{HTMLImageElement} im

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 14 2012 17:43:46 GMT-0400 (EDT)