org.wicketstuff.openlayers.api.control
Class WMSGetFeatureInfo
java.lang.Object
org.wicketstuff.openlayers.api.control.AbstractControl
org.wicketstuff.openlayers.api.control.WMSGetFeatureInfo
- All Implemented Interfaces:
- Serializable, IClusterable, IJavascriptComponent
public class WMSGetFeatureInfo
- extends AbstractControl
- Author:
- Michael O'Cleirigh
See:
http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Control
/WMSGetFeatureInfo-js.html
- See Also:
- Serialized Form
| Methods inherited from class org.wicketstuff.openlayers.api.control.AbstractControl |
getId, getJSadd, getJSadd, getJSadd, getJSadd, getJSinvoke, getJSremove, getJSResourceReferences, getLayerList, registerJavascriptEvent, setLayerList |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMSGetFeatureInfo
public WMSGetFeatureInfo(HashMap<String,String> parameters,
AbstractReadOnlyModel<String> onEventJavascript)
- Parameters:
parameters - a list of parameters that will be passed into the javascript constructor.
See: http://openlayers.org/dev/examples/getfeatureinfo-control.html url:
'http://demo.opengeo.org/geoserver/wms', title: 'Identify features by clicking',
layers: [water], hover: true, formatOptions: { typeName: 'water_bodies',
featureNS: 'http://www.openplans.org/topp' }, queryVisible: trueonEventJavascript - any javascript to be called when the 'getfeatureinfo' event is fired (one
parameter evt in scope).
getJSadd
public String getJSadd(IOpenLayersMap map)
- Specified by:
getJSadd in interface IJavascriptComponent- Overrides:
getJSadd in class AbstractControl
- Returns:
- the rendered javascript to add this component to the map
Copyright © 2008-2012. All Rights Reserved.