Package com.luciad.wms.client.model
Class TLcdWMSGetFeatureInfoContext
java.lang.Object
com.luciad.wms.client.model.TLcdWMSGetFeatureInfoContext
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:
TLcdWMSProxyGXYPainter#getFeatureInfoContext
TLcdGXYTiledWMSProxyPainter#getFeatureInfoContext
TLspWMSGetFeatureInfoContextQuery
Lower level API is available as well, see TLcdWMSGetFeatureInfoRequest
. In most cases, this low level API
should not be needed.
- Since:
- 2016.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class forTLcdWMSGetFeatureInfoContext
objects. -
Method Summary
Modifier and TypeMethodDescriptionReturns this object as aBuilder
.Returns the GetMap context used for a GetFeatureInfo request.int
getX()
Returns the x-coordinate (in view coordinates) used for the query.int
getY()
Returns the y-coordinate (in view coordinates) used for the query.Returns a new builder for a GetFeatureInfo Context.
-
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
Returns the GetMap context used for a GetFeatureInfo request.- Returns:
- the GetMap context used for a GetFeatureInfo request.
-
newBuilder
Returns a new builder for a GetFeatureInfo Context. Note that is most cases, it should not be needed to create aTLcdWMSGetFeatureInfoContext
. It can be retrieved from the layer. For more information, seeTLcdWMSGetFeatureInfoContext
class doc.- Returns:
- a new builder
-
asBuilder
Returns this object as aBuilder
.- Returns:
- this object as a
Builder
.
-