I want to add an image to my win form app using DotSpatial. I use the code below (it works):
private void Form1_Load(object sender, EventArgs e)
{
map1.AddLayer(@"C:\image.png");
}
But I see "Invalid or Missing Projection" window to choose a projection. How can I set projection in code and remove the window above?