<< Click to Display Table of Contents >>
MapCachedLayer (sName, ResourcePath, bLayers)
Description
The cached layer object
Position
CachedLayer.js
Parameters
Parameter |
Description |
sName |
The name of layer object. |
ResourcePath |
The resource path of layer object. |
bLayers |
Whether to display the sub-layer of service layer. |
Properties
Property |
Description |
none |
none |
Methods
Method |
Description |
getName() |
To get the name of the cached layer object. |
putName(newVal) |
To set the name of the cached layer object. |
getTitle() |
To get the title of the cached layer object. |
putTitle(newVal) |
To set the title of the cached layer object. |
getVisible() |
To get the visibility of the cached layer. |
putVisible(newVal) |
To set the visibility of the cached layer. |
getResourcePath() |
To get the resource path of the cached layer object. |
getLeft() |
To get the left boundary of the cached layer object. |
getTop() |
To get the top boundary of the cached layer object. |
getRight() |
To get the right boundary of the cached layer object. |
getBottom() |
To get the bottom boundary of the cached layer object. |
getImageWidth() |
To get the image width of the cached layer. |
getImageHeight() |
To get the image height of the cached layer. |
getLayers() |
To get the sub-layers of the service layer. |
getThematicLayer() |
To get the thematic or active layer. |
getScales() |
To get the array of cached scale. |
getBaseScaleX() |
To get the standard scale of X direction. |
getBaseScaleY() |
To get the standard scale of Y direction. |
Initialize(pMapBase) |
To initialize the cached layer object. |
RemoveSelf() |
To remove the layer content built by users. |
UpdateElement() |
To update the element of the cached layer object. |
RebuildElement() |
To rebuild the element of the cached layer object. |
ExecuteQuery(expr, bGeom, pSucceed, pFailed) |
To query the layer content. |
getFields() |
To get the field of cached layer. |
getFeatureType() |
To get the feature type of cached layer. |
getSRName() |
To get the name of coordinate system of layer. |
©2015 Supergeo Technologies Inc.