See ol.control.GetFeatureInfo Example import GetFeatureInfo from "src/OpenLayers/Controls/GetFeatureInfo"