This project has moved. For the latest updates, please go here.

Can't see map on WinForm

Topics: SharpMap v0.9 / v1.x, WinForms Controls
Feb 14, 2008 at 3:32 AM
Hi All,

I have downloaded the WinForms Demo and the source code for SharpMap V0.9, I had a look over the source code and I thought that I would give the demo app a run to see how it all looked but when I run the WinForms demo there is no map displayed.

I have clicked the load button and opened a shape file(the one that comes with the demo and my own) but nothing is displayed, when I hover my mouse over the area where the map should be it changes to the pan cross cursor and the layer is also added to the control on the side but nothing is displayed.

Could someone please help me I would really like to get this working.

P.S I don't know if this will help but when I try and add the mapimage control to my toolbox I get a Asp Host Permission.

Feb 14, 2008 at 7:57 AM
Edited Feb 14, 2008 at 7:58 AM
Did you try the 'zoom to extents' button?

We should build a version that zooms to extents after the first load though.

Feb 17, 2008 at 9:30 PM
Thanks for that Paul, I didn't even think of that.