Class FeatureServiceLayerIdInfo

java.lang.Object
com.esri.arcgisruntime.arcgisservices.IdInfo
com.esri.arcgisruntime.arcgisservices.FeatureServiceLayerIdInfo

public final class FeatureServiceLayerIdInfo extends IdInfo
Represents the metadata for a Feature service layer.

Same as a IdInfo. You will get this object from ArcGISFeatureServiceInfo.getLayerInfos().

Since:
100.6.0
  • Method Details

    • getServiceType

      public ArcGISFeatureLayerInfo.ServiceType getServiceType()
      Gets the type of data held in the layer on the service.

      Indicates the type of data contained in the layer: e.g., table row, geometric feature, annotation or dimension feature.

      Returns:
      the type of data held in the layer on the service
      Since:
      100.6.0
    • getDefaultVisibility

      public boolean getDefaultVisibility()
      Gets the default visibility of the features in the layer.
      Returns:
      the default visibility of the features in the layer
      Since:
      100.6.0
    • getGeometryType

      public GeometryType getGeometryType()
      Gets the type of geometry that all the features in the layer possess.

      For point, multipoint, polyline or polygon feature layers, this will be the type of the feature's geometry. For annotation and dimension feature layers, this will be GeometryType.POLYGON (referring to the outline of the text graphic). For tables, this will be GeometryType.UNKNOWN.

      Returns:
      the geometry type
      Since:
      100.6.0
    • getMaxScale

      public double getMaxScale()
      Gets the maximum scale at which the layer's contents will be visible. The layer is only visible when you are zoomed further out than the maxScale.
      Returns:
      the maximum scale at which the layer's contents will be visible
      Since:
      100.6.0
    • getMinScale

      public double getMinScale()
      Gets the minimum scale at which the layer's contents will be visible. The layer is only visible when you are zoomed further in than the minScale. However, zero indicates that there is no minScale restriction.
      Returns:
      the minimum scale at which the layer's contents will be visible
      Since:
      100.6.0