I am trying to host the SharpMap MapImage control within a WPF window using WinForms interop via the WindowsFormsHost element.
Based on the code in the Sharpmap_Wms client winforms app, I am encountering a problem:
When I set a MapImage.Map to a Map object, the Map properties are reset -
PixelSize is set to Infinity, MapHeight is set to NaN and Size is set to 0,0
Is there a solution to this (other than waiting for the Sharpmap WPF control)?
are there any WPF SharpMap examples out there?