com.esri.client.local
Class ArcGISLocalTiledLayer
java.lang.Object
com.esri.map.Layer
com.esri.client.local.ArcGISLocalTiledLayer
public class ArcGISLocalTiledLayer
- extends Layer
The Class ArcGISLocalTiledLayer uses data directly from a locally stored tile
cache. This class supports exploded and compact tile caches as well as
TPK TilePackages. The properties of this class, for example default spatial
reference, URL and full extent should be accessed after the layer has
initialized.
Methods inherited from class com.esri.map.Layer |
addLayerInitializeCompleteListener, finalize, fireLayerCreateCompleteEvent, fireLayerCreateErrorEvent, fireLayerCreateErrorEvent, getCopyrightText, getCredentialsInternal, getDefaultSpatialReference, getDescription, getException, getExtent, getFullExtent, getInitialExtent, getInitializationError, getLayerHandle, getMap, getMapServer, getMapServerInfo, getMapServerLegendInfo, getMaxScale, getMinScale, getName, getOpacity, getPopupInfo, getResolution, getResolutionList, getServiceDescription, getSpatialReference, getStatus, getUrl, getUrlHashCode, initializeAsync, internalGetLayerLegendInfos, isHidingNoDataTiles, isInitialized, isReady, isShowingCopyright, isVisible, loadServiceInfo, lock, recycle, reinitializeAsync, removeLayerInitializeCompleteListener, setCopyrightText, setCredentials, setDefaultSpatialReference, setDescription, setError, setException, setFullExtent, setInitialExtent, setLayerHandle, setMap, setMapServer, setName, setOpacity, setPopupInfos, setServiceDescription, setShowingCopyright, setStatus, setUrl, setVisible, unlock, updateSpatialReferenceStatus |
ArcGISLocalTiledLayer
public ArcGISLocalTiledLayer(String path)
- Constructs an ArcGISLocalTiledLayer. To initialize the layer, add it to
JMap or call
Layer.initializeAsync()
.
- Parameters:
path
- for exploded tile caches set the path to the folder where the
conf.cdi and conf.xml files resides, for compact tile caches
set the path to the TPK file.
internalInit
protected void internalInit()
- Specified by:
internalInit
in class Layer
createResolutionList
protected void createResolutionList(double[] lodResolutions)
init
protected void init(boolean isVisible,
int[] visibleLayers,
String title,
float opacity)
- Description copied from class:
Layer
- This method is called only when composing a Map from a Web Map. The web map contains properties
that every layer should be initialized with, up front.
- Specified by:
init
in class Layer
createNativeLayer
protected void createNativeLayer()
- Specified by:
createNativeLayer
in class Layer
initializeNativeLayer
protected void initializeNativeLayer()
- Specified by:
initializeNativeLayer
in class Layer
getLegend
public LayerLegendInfoCollection getLegend()
- Specified by:
getLegend
in class Layer
Copyright © 2012. All Rights Reserved.