public class TLspWMSGetFeatureInfoContextQuery extends ALspPaintQuery<TLcdWMSGetFeatureInfoContext>
Layer query that retrieves a WMS GetFeatureInfo context object. This context can be used
to perform a GetFeatureInfo request, see ALcdWMSProxy#createFeatureInfoInputStream
.
Constructor and Description |
---|
TLspWMSGetFeatureInfoContextQuery(int aX,
int aY)
Creates a new query that can calculate a
TLcdWMSGetFeatureInfoContext for WMS layers. |
Modifier and Type | Method and Description |
---|---|
TLcdWMSGetFeatureInfoContext |
getResult()
Returns the resulting
TLcdWMSGetFeatureInfoContext or null . |
int |
getX()
Returns the x coordinate (in view coordinates) for which to perform a GetFeatureInfo request
|
int |
getY()
Returns the y coordinate (in view coordinates) for which to perform a GetFeatureInfo request
|
public TLspWMSGetFeatureInfoContextQuery(int aX, int aY)
TLcdWMSGetFeatureInfoContext
for WMS layers.aX
- the x coordinate (in view coordinates) for which to perform a GetFeatureInfo requestaY
- the y coordinate (in view coordinates) for which to perform a GetFeatureInfo requestpublic int getX()
public int getY()
public TLcdWMSGetFeatureInfoContext getResult()
TLcdWMSGetFeatureInfoContext
or null
.getResult
in class ALspPaintQuery<TLcdWMSGetFeatureInfoContext>
TLcdWMSGetFeatureInfoContext
or null
.