ArcGISCache.js | |
Properties | |
url | {String | Array} The base URL for the layer cache. |
tileOrigin | {OpenLayers.LonLat} The location of the tile origin for the cache. |
tileSize | {OpenLayers.Size} This size of each tile. |
useAGS | {Boolean} Indicates if we are going to be accessing the ArcGIS Server (AGS) cache via an AGS MapServer or directly through HTTP. |
type | {String} Image type for the layer. |
useScales | {Boolean} Optional override to indicate that the layer should use ‘scale’ information returned from the server capabilities object instead of ‘resolution’ information. |
overrideDPI | {Boolean} Optional override to change the OpenLayers.DOTS_PER_INCH setting based on the tile information in the server capabilities object. |
Constructor | |
OpenLayers.
|
Creates a new instance of this class |
Functions | |
clone | Returns an exact clone of this OpenLayers.Layer.ArcGISCache |
{OpenLayers.LonLat} The location of the tile origin for the cache. An ArcGIS cache has it’s origin at the upper-left (lowest x value and highest y value of the coordinate system). The units for the tile origin should be the same as the units for the cached data.
{OpenLayers.Size} This size of each tile. Defaults to 256 by 256 pixels.
{Boolean} Indicates if we are going to be accessing the ArcGIS Server (AGS) cache via an AGS MapServer or
directly through HTTP. When accessing via AGS the path structure uses a standard z/y/x structure.
But AGS actually stores the tile images on disk using a hex based folder structure that looks like “http://example.com
{String} Image type for the layer. This becomes the filename extension in tile requests. Default
is “png” (generating a url like “http://example.com
{Boolean} Optional override to change the OpenLayers.DOTS_PER_INCH setting based on the tile information in the server capabilities object. This can be useful if your server has a non-standard DPI setting on its tiles, and you’re only using tiles with that DPI. This value is used while OpenLayers is calculating resolution using scales, and is not necessary if you have resolution information. (This is typically the case) Regardless, this setting can be useful, but is dangerous because it will impact other layers while calculating resolution. Only use this if you know what you are doing. (See OpenLayers.Util.getResolutionFromScale)
clone: function ( obj )
Returns an exact clone of this OpenLayers.Layer.ArcGISCache
[obj] | {Object} optional object to assign the cloned instance to. |
{OpenLayers.Layer.ArcGISCache} clone of this instance
Returns an exact clone of this OpenLayers.Layer.ArcGISCache
clone: function ( obj )