<br><br>On Wednesday, December 28, 2011, Mark Volz &lt;<a href="mailto:volzmark@yahoo.com">volzmark@yahoo.com</a>&gt; wrote:<br>&gt; Hello,<br>&gt; I am trying to configure the JQuery Mobile application so that instead of a click identifying the built in sprinters layer, it will identify using WMSGetFeatureInfo instead.  How do I assign the click event to WMSGetFeatureInfo?<br>
<br>WMSGetFeatureInfo works on touchstart/touchend on touch devices. So you shouldn&#39;t need anything specific to make the WMSGetFeatureInfo control work.<br><br>&gt; Is it in controls or somewhere else?<br>&gt;        controls: [<br>
&gt;             new OpenLayers.Control.Attribution(),<br>&gt;             new OpenLayers.Control.TouchNavigation({<br>&gt;                 dragPanOptions: {<br>&gt;                     enableKinetic: true<br>&gt;                 }<br>
&gt;             }),<br>&gt;             click: new <br><br>Remove &quot;click:&quot;. The &quot;controls&quot; property references an array of controls.<br><br>Openlayers.Control.WMSGetFeatureInfo({<br>&gt;                 url: &#39;<a href="http://demo.opengeo.org/geoserver/wms">http://demo.opengeo.org/geoserver/wms</a>&#39;,<br>
&gt;                 title: &#39;Identify features by clicking&#39;,<br>&gt;                 layers: [water],<br>&gt;                 queryVisible: true<br>&gt;             }),   <br>&gt;             geolocate<br>&gt;             //infoControls<br>
&gt;             //selectControl<br>&gt;         ],<br><br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>