I am creating a WinForms app. I can create vector layers (using ESRI Shape files) no problems. Point and label layers from Access.MDB files. I now have a JPG file fully georeff'd with a jpw file. But No joy! How do I implement
a GDALRaterLayer? I am using VB.NET in VS2008 Express. The code is this...
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myMAP As New SharpMap.Map(New Size(MapImage1.Width, MapImage1.Height))
Dim OSJPGLayer As SharpMap.Layers.GdalRasterLayer = New SharpMap.Layers.GdalRasterLayer("OS", "OS10K.jpg")
myMAP.BackColor = Color.White
MapImage1.Image = myMAP.GetMap()
it is the OSJPGLayer that screw things up. I have sharpMap.dll and sharpMap.UI.dll referenced... again I am using v0.9.
Any tips or help gratefully received.