Hi,
I am trying to overlay a .jpg image on winforms map using GdiPlusRasterLayer class… but either i am getting some distortion or some parameter issue in testing machine…
And i wanted to know the difference between following two lines…
-
GdiPlusRasterLayer rasterLightening = new GdiPlusRasterLayer(Application.StartupPath + @"\Data\as.jpg",_proj.ConvertToExternalProjection(new RectangleShape(-180, 90, 179, -89)));
-
GdiPlusRasterLayer rasterLightening = new GdiPlusRasterLayer(Application.StartupPath + @"\Data\as.jpg",new RectangleShape(-180, 90, 179, -89));
rasterLightening.ImageSource.Projection = _proj;
Please help me on this…
Thanks,
Ashok