This project has moved and is read-only. For the latest updates, please go here.

Newby question: Add a Primitive Geometry example does not work for me :-(

Topics: Español, General Topics
Jan 2, 2008 at 7:46 AM
Hi all, I am trying to get example of, but Visual Studio 2008 shows some built errors (sorry it is in spanish):

Error1 ) La mejor coincidencia de método sobrecargado para 'SharpMap.Data.Providers.GeometryProvider.GeometryProvider(System.Collections.Generic.List<SharpMap.Geometries.Geometry>)' tiene algunos argumentos no válidos

Error2) Argumento '1': no se puede convertir de 'System.Collections.ObjectModel.Collection<SharpMap.Geometries.Geometry>' a 'System.Collections.Generic.List<SharpMap.Geometries.Geometry>'

And both errors are from the same code line:
VLayer.DataSource = new SharpMap.Data.Providers.GeometryProvider(GeomColl);

If anyone knows why it could be very helpful. Thanks in advance!