Need Help to Getting Started with SharpMap

Topics: Data Access, Español, General Topics, Algorithms, Italiano, SharpMap Project, SharpMap v0.9 / v1.x, SharpMap v2.0, Web Controls, WinForms Controls
Dec 17, 2007 at 5:58 AM
Hello All,

Kindly guide me and let me know whether I am mistaking anywhere.
I have Windows Professional OS with Visual Studio 2005 installed
Presently I am using Sharp Map 09 and strugling to getting started.

I need to create map and render it...how would i do that ? I tried with following code...

Imports System
Imports System.Data
Imports System.Drawing
Imports System.Configuration
Imports System.Collections
Imports System.Web

Partial Public Class Form1
Private mymap As SharpMap.Map

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'setup map
'mymap.ZoomToExtents()
mymap.Center = New SharpMap.Geometries.Point(0, 0)
mymap.Zoom = 360

'generate map
Dim img As System.Drawing.Image = mymap.GetMap()
Dim imgID As String = SharpMap.Web.Caching.InsertIntoCache(1, img)


....
pls help me out...waiting deperately for ur reply.

Thanks in advance....



Best Regards,

Makarand