Hi, I'm trying to display OpenStreetMap in a winformsMap. From the wiki and samples I am using the following code:
winformsMap1.MapUnit = GeographyUnit.Meter;
OpenStreetMapOverlay openStreetMapOverlay = new OpenStreetMapOverlay();
openStreetMapOverlay.CacheDirectory = @"C:\temp\OpenStreetMapLayerCache1";
winformsMap1.Overlays.Add(openStreetMapOverlay);
winformsMap1.CurrentExtent = new RectangleShape(-4352400.53526627, 8867834.11959479, 10425951.3896003, -2890780.54967516);
winformsMap1.Refresh();
When I build the project it does build and the windows form application pops up, but the map is grey with a white box and a red X in it at the centre of the screen. The map is not loaded properly or it is not being displayed. I've attached screenshot.