OpenLayers. | |
Properties | |
size | {OpenLayers.Size} The Zoomify image size in pixels. |
isBaseLayer | {Boolean} |
standardTileSize | {Integer} The size of a standard (non-border) square tile in pixels. |
tileOriginCorner | {String} This layer uses top-left as tile origin |
numberOfTiers | {Integer} Depth of the Zoomify pyramid, number of tiers (zoom levels) |
tileCountUpToTier | {Array(Integer)} Number of tiles up to the given tier of pyramid. |
tierSizeInTiles | {Array(OpenLayers.Size)} Size (in tiles) for each tier of pyramid. |
tierImageSize | {Array(OpenLayers.Size)} Image size in pixels for each pyramid tier. |
Constructor | |
OpenLayers. | |
Functions | |
initializeZoomify | It generates constants for all tiers of the Zoomify pyramid |
clone | |
getURL | |
getImageSize | getImageSize returns size for a particular tile. |
setMap | When the layer is added to a map, then we can fetch our origin (if we don’t have one.) |
calculateGridLayout | Generate parameters for the grid layout. |
{OpenLayers.Size} The Zoomify image size in pixels.
{Array(OpenLayers.Size)} Size (in tiles) for each tier of pyramid.
{Array(OpenLayers.Size)} Image size in pixels for each pyramid tier.
name | {String} A name for the layer. |
url | {String} - Relative or absolute path to the image or more precisly to the TileGroup[X] directories root. Flash plugin use the variable name “zoomifyImagePath” for this. |
size | {OpenLayers.Size} The size (in pixels) of the image. |
options | {Object} Hashtable of extra options to tag onto the layer |
initializeZoomify: function( size )
It generates constants for all tiers of the Zoomify pyramid
size | {OpenLayers.Size} The size of the image in pixels |
clone: function ( obj )
obj | {Object} |
{OpenLayers.Layer.Zoomify} An exact clone of this OpenLayers.Layer.Zoomify
getURL: function ( bounds )
bounds | {OpenLayers.Bounds} |
{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters
setMap: function( map )
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
map | {OpenLayers.Map} |
calculateGridLayout: function( bounds, origin, resolution )
Generate parameters for the grid layout. This
bounds | {<OpenLayers.Bound>} |
origin | {OpenLayers.LonLat} |
resolution | {Number} |
{Object} Object containing properties tilelon, tilelat, tileoffsetlat, tileoffsetlat, tileoffsetx, tileoffsety
It generates constants for all tiers of the Zoomify pyramid
initializeZoomify: function( size )
clone: function ( obj )
getURL: function ( bounds )
getImageSize returns size for a particular tile.
getImageSize: function()
When the layer is added to a map, then we can fetch our origin (if we don’t have one.)
setMap: function( map )
Generate parameters for the grid layout.
calculateGridLayout: function( bounds, origin, resolution )