Hi FObermaier, first of all thanks for your answer.
As you can easly understand I've just started with this excellent tool and I don't know yet its features and how it can be used in the right way.
The code you see is the result of the informations that I've collected simply surfing on the site in a couple of day so I know that I'm so far from a correct implementation.
Now I think I've understood the SRID meaning and I suppose that I can use a "UserData" property to store "personal" user information.
With regard to VariableLayers, I admit that I wasn't sure it could be the right solution for me, I just was trying to make some test in order to understand.
I would profit of your competence and patience in order to understand SharpMap usage, so please let me better explain my needs.
I have some shape files containing information of my region; I should use them as background in order to represent a urban map on which show vehicles position.
These position come from an external service that periodically transmit vehicles coordinates and I receive them through a direct socket connection so I don't read them from a DB.
For this reason I supposed that I could use a vector layer for vehicles representation
NetTopologySuite.Geometries.GeometryFactory _geometryFactor = new NetTopologySuite.Geometries.GeometryFactory();
SharpMap.Layers.VectorLayer _vehiclesLayer = new SharpMap.Layers.VectorLayer("VEHICLES");
List<GeoAPI.Geometries.IGeometry> _vehiclesLayerFeatureSet = new List<GeoAPI.Geometries.IGeometry>();
SharpMap.Data.Providers.GeometryProvider _vehiclesLayerSourceProvider = new SharpMap.Data.Providers.GeometryProvider(_vehiclesLayerFeatureSet);
_vehiclesLayer.DataSource = _vehiclesLayerSourceProvider;
_vehiclesLayer.Style.Symbol = Bitmap.FromFile(@"C:\Icons\testIcon.ico");
_vehiclesLayer.Style.SymbolScale = 0.5F;
_vehiclesLayer.Style.Fill = Brushes.Transparent;
and add vehicles position (or update them) while receiving from my source
IPoint point = _geometryFactor.CreatePoint(vehicleMapPoint);
_vehiclesLayerSourceProvider.Geometries = _vehiclesLayerFeatureSet;
If this is correct, I should also use labels and this is my difficulty, I haven't understood how to do it.
Would you please help me and give me a such kind of example ?
Thanks in advance and excuse for my english.