Q about Add a primitive geometry ???

Topics: Data Access, General Topics, SharpMap v0.9 / v1.x
Jun 14, 2008 at 1:25 PM

SharpMap.Layers.VectorLayer VLayer = new VectorLayer("GeometryLayer");

                Collection<SharpMap.Geometries.Geometry> GeomColl = new Collection<SharpMap.Geometries.Geometry>();
                //Add a single Point
                GeomColl.Add(new SharpMap.Geometries.Point(10, 10));

 //VLayer.DataSource = new SharpMap.Data.Providers.GeometryProvider(GeomColl);
                //map.Layers.Add(VLayer);

                //map.ZoomToExtents();


THIS CODE DON'T DISPLAY SINGLE POINT NREVER BUT WHEN ADD MULIPOINT IT WORKS
WHAT THE RESONE PLZZZ????????