org.wicketstuff.openlayers.api.control
Class WMSGetFeatureInfo

java.lang.Object
  extended by org.wicketstuff.openlayers.api.control.AbstractControl
      extended by 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

Constructor Summary
WMSGetFeatureInfo(HashMap<String,String> parameters, AbstractReadOnlyModel<String> onEventJavascript)
           
 
Method Summary
 String getJSadd(IOpenLayersMap map)
           
 
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
 

Constructor Detail

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: true
onEventJavascript - any javascript to be called when the 'getfeatureinfo' event is fired (one parameter evt in scope).
Method Detail

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.