In my application i am using a wmsLayer. In order to make a proper getFeatureInfo-request i need to specify the appropriate map-pixel values. How can i obtain them?
I am able to get the screen-pixels on click, but i fail to transform them to map-pixels.
I tried using the view.toMap({x,y})
function but the retrieved values are Webmercator-coordinates and no pixel-coordinates.
There is maybe something more general that i am missing, so i would appreciate any kind of guidance through this task!