public class WMSGetFeatureInfo extends AbstractControl
Constructor and Description |
---|
WMSGetFeatureInfo(HashMap<String,String> parameters,
org.apache.wicket.model.AbstractReadOnlyModel<String> onEventJavascript) |
Modifier and Type | Method and Description |
---|---|
String |
getJSadd(IOpenLayersMap map) |
getId, getJSadd, getJSadd, getJSadd, getJSadd, getJSinvoke, getJSremove, getJSResourceReferences, getLayerList, registerJavascriptEvent, setLayerList
public WMSGetFeatureInfo(HashMap<String,String> parameters, org.apache.wicket.model.AbstractReadOnlyModel<String> onEventJavascript)
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).public String getJSadd(IOpenLayersMap map)
getJSadd
in interface IJavascriptComponent
getJSadd
in class AbstractControl
Copyright © 2015. All rights reserved.