This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS tile layer.
See the getfeatureinfo-tile.js source to see how this is done.