I use OpenLayers to show Map , when im creating the map, i want to show map image with an ImageLayer and VectorLayers, the image is non Geo-referenced.
The use case: i receiving a map image url from the server and entities layers , the entities positions on the layers represented by pixels on the image that i'm holding.
from the image url i'm creating a ImageLayer and then creating VectorLayer and want to put the features on the VectorLayer with the pixels positions.
I tried to create the map in EPSG:4326 projection and then to convert the pixels point with getLonLatFromPixel(px,py), this is not helping because the pixels that the method receives are refers to the map container pixels and not to the image pixels.
there is a way to put features on the map by using the pixels (x,y) of the image itself ?