java.lang.Object
com.esri.arcgisruntime.layers.ArcGISSublayer
com.esri.arcgisruntime.layers.ArcGISTiledSublayer
- All Implemented Interfaces:
RemoteResource
,LayerContent
,Loadable
,PopupSource
Represents a sublayer of a tiled map service.
- Since:
- 100.0.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.layers.ArcGISSublayer
loadError, loadStatus
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
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, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setCanShowInLegend, setCredential, setPopupDefinition, setPopupEnabled, setRenderer, setRequestConfiguration
-
Method Details
-
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:
-
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
-