Class RasterSublayerSource

java.lang.Object
com.esri.arcgisruntime.layers.SublayerSource
com.esri.arcgisruntime.layers.RasterSublayerSource

public final class RasterSublayerSource extends SublayerSource
Raster sublayer source is a file-based raster that resides in a raster workspace that has been registered with a service that supports Dynamic Layers.
Since:
100.1.0
  • Constructor Details

    • RasterSublayerSource

      public RasterSublayerSource(String workspaceId, String dataSourceName)
      Create a raster sublayer source from a workspace ID and a data source name.
      Parameters:
      workspaceId - the workspace ID
      dataSourceName - the data source name
      Throws:
      IllegalArgumentException - if workspaceId is null or empty
      IllegalArgumentException - if dataSourceName is null or empty
      Since:
      100.1.0
  • Method Details

    • getWorkspaceId

      public String getWorkspaceId()
      Gets the workspace ID.
      Returns:
      the workspace ID
      Since:
      100.1.0
    • getDataSourceName

      public String getDataSourceName()
      Gets the data source name.
      Returns:
      the data source name
      Since:
      100.1.0