Package com.esri.arcgisruntime.layers
Class ArcGISTiledSublayer
- java.lang.Object
-
- com.esri.arcgisruntime.layers.ArcGISSublayer
-
- com.esri.arcgisruntime.layers.ArcGISTiledSublayer
-
- All Implemented Interfaces:
RemoteResource
,LayerContent
,Loadable
,PopupSource
public final class ArcGISTiledSublayer extends ArcGISSublayer
Represents a sublayer of a tiled map service.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArcGISTiledSublayer
copy()
Creates a deep copy of this ArcGISTiledSublayer instance.void
setVisible(boolean isVisible)
Shows or hides this sublayer from a map.-
Methods inherited from class com.esri.arcgisruntime.layers.ArcGISSublayer
addDoneLoadingListener, addLoadStatusChangedListener, cancelLoad, canChangeVisibility, canScaleSymbols, canShowInLegend, copyTo, fetchLegendInfosAsync, getCredential, getDefinitionExpression, getId, getLoadError, getLoadStatus, getMapServiceSublayerInfo, getMaxScale, getMinScale, getName, getOpacity, getPopupDefinition, getRenderer, getRequestConfiguration, getSubLayerContents, getSublayers, getUri, isLabelsEnabled, isPopupEnabled, isVisible, isVisibleAtScale, loadAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setCanShowInLegend, setCredential, setPopupDefinition, setPopupEnabled, setRenderer, setRequestConfiguration
-
-
-
-
Method Detail
-
setVisible
public void setVisible(boolean isVisible)
Description copied from class:ArcGISSublayer
Shows or hides this sublayer from a map.The default value for a sublayer's visibility is set to true.
- Specified by:
setVisible
in interfaceLayerContent
- Overrides:
setVisible
in classArcGISSublayer
- Parameters:
isVisible
- true makes the sublayer visible, false makes it invisible- See Also:
LayerContent.isVisible()
-
copy
public ArcGISTiledSublayer copy()
Creates a deep copy of this ArcGISTiledSublayer instance.- Specified by:
copy
in classArcGISSublayer
- Returns:
- a deep copy of this ArcGISTiledSublayer instance, which means that copies of all fields of this layer are made including its loading state
- Since:
- 100.1.0
-
-