I'm working on a project with MapServer and I need to display my generated map in OpenLayers, but I'm not understanding how to do this. I've searched but none of the results helped.
I'm using OpenLayers 4.4
Either OpenLayers documentations helped.
I've tried these two exemples that I found on OpenLayers page but none of them worked.
I've changed the url to use my source but didn't work.