Ejemplo n.º 1
0
        public void AddPoint(MapPointEx point)
        {
            if (points.Count == 0)
            {
                mapLayer.DrawPoint(point, new I_GS_MapBase.Portal.SymbolElement("track")
                {
                    ControlTemplate = Obj.screenMap.MainMap.Resources["TrackBegin"],
                });
            }
            else
            {
                DrawLine(new MapPointEx[] { points[points.Count-1],point});
            }

            points.Add(point);

            DrawClose(point);
        }