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
A sublayer of an ArcGIS tiled layer.

A tiled sublayer can be an individual layer or table in a cached ArcGIS map service. This property is available once its ArcGISTiledLayer is loaded or you can obtain a collection of sublayers from another tiled sublayer by using ArcGISSublayer.getSublayers().

Since:
100.0.0
  • 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 interface LayerContent
      Overrides:
      setVisible in class ArcGISSublayer
      Parameters:
      isVisible - true makes the sublayer visible, false makes it invisible
      See Also:
    • copy

      public ArcGISTiledSublayer copy()
      Creates a deep copy of this ArcGISTiledSublayer instance.
      Specified by:
      copy in class ArcGISSublayer
      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