Class WmsFeature

java.lang.Object
com.esri.arcgisruntime.ogc.wms.WmsFeature
All Implemented Interfaces:
GeoElement

public final class WmsFeature extends Object implements GeoElement
Represents a feature in a Web Map Service (WMS) layer.
Since:
100.2.0
See Also:
  • Method Details

    • getAttributes

      public Map<String,Object> getAttributes()
      Gets all attributes of the WMS feature.
      Specified by:
      getAttributes in interface GeoElement
      Returns:
      all the attributes as name value pairs
      Since:
      100.2.0
    • getGeometry

      public Geometry getGeometry()
      Description copied from interface: GeoElement
      Gets the geometry which defines the shape and location of the GeoElement.
      Specified by:
      getGeometry in interface GeoElement
      Returns:
      the geometry defines the shape and location of the GeoElement, or null if none
    • setGeometry

      public void setGeometry(Geometry geometry)
      Description copied from interface: GeoElement
      Sets the geometry defines the shape and location of the GeoElement.
      Specified by:
      setGeometry in interface GeoElement
      Parameters:
      geometry - the geometry defines the shape and location of the GeoElement