Class TiledImageStore.Fixed
Extends
Store.
Defined in: Fixed.js.
Constructor Attributes | Constructor Name and Description |
---|---|
TiledImageStore.Fixed(args)
Implements a store for image tiles that are only available at a
fixed set of sizes and zoom levels.
|
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. |
|
loadSuccess(o)
|
|
unCacheImage(im)
Remove the given image element from the cache.
|
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