Class 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:
    WmsLayer
    • Method Detail

      • 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 of this geoelement.
        Specified by:
        getGeometry in interface GeoElement
        Returns:
        the geometry of this geoelement
      • setGeometry

        public void setGeometry​(Geometry geometry)
        Description copied from interface: GeoElement
        Sets the GeoElement's geometry.
        Specified by:
        setGeometry in interface GeoElement
        Parameters:
        geometry - the geometry to set