This project is read-only.

Transparent point

Feb 27, 2013 at 2:49 PM
How can I draw a transparent point to map?

Thanks.
Feb 28, 2013 at 12:05 PM
Edited Feb 28, 2013 at 12:10 PM
Coordinate[] c = new Coordinate[50];
Random rnd = new Random();
FeatureSet fs = new FeatureSet(FeatureType.Point);
fs.Projection = map1.Projection;
for (int i = 0; i < 50; i++)
{
    c[i] = new Coordinate((rnd.Next(0, 50) + 360) - 90, (rnd.NextDouble() * 360) - 180);
    fs.Features.Add(c[i]);
}
IMapPointLayer layer = (IMapPointLayer)map1.Layers.Add(fs);       
Color color = Color.FromArgb(100,Color.Blue);
layer.Symbolizer = new PointSymbolizer(color,PointShape.Ellipse,20);