Class TLcdWMSGetFeatureInfoContext

java.lang.Object
com.luciad.wms.client.model.TLcdWMSGetFeatureInfoContext

public final class TLcdWMSGetFeatureInfoContext extends Object

A context object that is used to specify WMS GetFeatureInfo settings. See ALcdWMSProxy.createFeatureInfoInputStream(TLcdWMSGetFeatureInfoContext, TLcdWMSGetFeatureInfoParameters). This object can be passed to the ALcdWMSProxy.createFeatureInfoInputStream(TLcdWMSGetFeatureInfoContext, TLcdWMSGetFeatureInfoParameters) method to perform a GetFeatureInfo request.

TLcdWMSGetFeatureInfoContext objects can be retrieved from the layer/painters:

Lower level API is available as well, see TLcdWMSGetFeatureInfoRequest. In most cases, this low level API should not be needed.

Since:
2016.1
  • Method Details

    • getX

      public int getX()
      Returns the x-coordinate (in view coordinates) used for the query.
      Returns:
      the x-coordinate (in view coordinates) used for the query.
    • getY

      public int getY()
      Returns the y-coordinate (in view coordinates) used for the query.
      Returns:
      the y-coordinate (in view coordinates) used for the query.
    • getGetMapContext

      public TLcdWMSGetMapContext getGetMapContext()
      Returns the GetMap context used for a GetFeatureInfo request.
      Returns:
      the GetMap context used for a GetFeatureInfo request.
    • newBuilder

      public static TLcdWMSGetFeatureInfoContext.Builder newBuilder()
      Returns a new builder for a GetFeatureInfo Context. Note that is most cases, it should not be needed to create a TLcdWMSGetFeatureInfoContext. It can be retrieved from the layer. For more information, see TLcdWMSGetFeatureInfoContext class doc.
      Returns:
      a new builder
    • asBuilder

      Returns this object as a Builder.
      Returns:
      this object as a Builder.