Use getEventPixel in ol.MapBrowserEvent
Use getCoordinatePixel in ol.MapBrowserEvent