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:
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.
Modifier and Type | Class and Description |
---|---|
static class |
TLcdWMSGetFeatureInfoContext.Builder
Builder class for
TLcdWMSGetFeatureInfoContext objects. |
Modifier and Type | Method and Description |
---|---|
TLcdWMSGetFeatureInfoContext.Builder |
asBuilder()
Returns this object as a
Builder . |
TLcdWMSGetMapContext |
getGetMapContext()
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.
|
static TLcdWMSGetFeatureInfoContext.Builder |
newBuilder()
Returns a new builder for a GetFeatureInfo Context.
|
public int getX()
public int getY()
public TLcdWMSGetMapContext getGetMapContext()
public static TLcdWMSGetFeatureInfoContext.Builder newBuilder()
TLcdWMSGetFeatureInfoContext
. It can be retrieved from the layer. For more information, see
TLcdWMSGetFeatureInfoContext
class doc.public TLcdWMSGetFeatureInfoContext.Builder asBuilder()
Builder
.Builder
.