how display .jpg file on vector lays?

Topics: SharpMap Project
Mar 26, 2007 at 7:43 AM
I want to display the .jpg file on the map in the correct place.I used the code:
------------------------------------------------------------------- SharpMap.Layers.GdalRasterLayer el = new SharpMap.Layers.GdalRasterLayer("ecw", "C:\\ArcIMS\\Axl\\jgw\\test.jpg");
el.SRID = 4326;
It just show the jpg file and I can't see my map.
any one can help me?
Mar 26, 2007 at 8:47 AM
Did you make sure that your map layers were added after the JPG file? It might seem like a silly question, but if you've accidentally done it the other way round then the JPG will be masking out any of your vector layers...