Help line with markspoints

Hello.
I need to do something like this, any example you can share me.
Thanks.
I did this with GMaps Control, but i want to use Mapwingis to replace him.

Not sure what you need.
Do you want to place markers?
Or lines? Or labels?

You can create a point shapefile, add the points. Set the point style to the marker.
Here are some examples:

I’m sorry.
My English is not good.
I need to do marks with lines joined.
Thanks for your answerd.

When you look at the ‘Mark points’ example, you see this is the part that is handling the mouse clicks:

public void AxMap1MouseDownEvent(object sender, _DMapEvents_MouseDownEvent e)
{
    if (e.button == 1)          // left button
    {
        Shapefile sf = axMap1.get_Shapefile(m_layerHandle);
        Shape shp = new Shape();
        shp.Create(ShpfileType.SHP_POINT);
        Point pnt = new Point();
        double x = 0.0;
        double y = 0.0;
        axMap1.PixelToProj(e.x, e.y, ref x, ref y);
        pnt.x = x;
        pnt.y = y;
        int index = shp.numPoints;
        shp.InsertPoint(pnt, ref index);
        index = sf.NumShapes;
        if (!sf.EditInsertShape(shp, ref index))
        {
            MessageBox.Show("Failed to insert shape: " + sf.ErrorMsg[sf.LastErrorCode]);
            return;
        }
        axMap1.Redraw();
    }
}

Instead of creating a POINT shapefile you can create a POLYLINE shapefile, create a line with two or more mouse clicks and add that line to the shapefile.

1 Like