Ejemplo n.º 1
0
 public void ChangeVerticles(List <Place> places)
 {
     Drawables.Clear();
     Drawables.Add(_map);
     foreach (var place in places)
     {
         var verticle = new Verticle(place);
         Drawables.Add(verticle);
     }
 }
Ejemplo n.º 2
0
        public Layout(double width, double height, List <Place> places)
        {
            Vp.X1    = 0;
            Vp.Y1    = 0;
            Vp.X2    = _cvsWidth;
            Vp.Y2    = _cvsHeight;
            Vp.Scale = 1;

            _cvsWidth  = width;
            _cvsHeight = height;

            Drawables.Add(_map);
            foreach (var place in places)
            {
                var verticle = new Verticle(place);
                Drawables.Add(verticle);
            }
        }