Ejemplo n.º 1
0
        public void ShowOnMap()
        {
            var mvc = new MapFlipViewController();

            mvc.Title = "Map";
            navigationController.PushViewController(mvc, true);
        }
        public MapLocationViewController(MapFlipViewController mfvc)
            : base()
        {
            FlipController = mfvc;

            _locations = new List<MapLocation>();
            _locations.Add(new MapLocation{Title="Hero's", Location = new CLLocationCoordinate2D(33.4683,-111.682974)});//Location of my favorite watering hole
            _locations.Add(new MapLocation{Title="Your location", Location = new CLLocationCoordinate2D(0,0)});
        }
Ejemplo n.º 3
0
        public MapLocationViewController(MapFlipViewController mfvc) : base()
        {
            FlipController = mfvc;

            _locations = new List <MapLocation>();
            _locations.Add(new MapLocation {
                Title = "Hero's", Location = new CLLocationCoordinate2D(33.4683, -111.682974)
            });                                                                                                                     //Location of my favorite watering hole
            _locations.Add(new MapLocation {
                Title = "Your location", Location = new CLLocationCoordinate2D(0, 0)
            });
        }
 public MapViewController(MapFlipViewController mfvc) : base()
 {
     _mfvc      = mfvc;
     MyLocation = new CLLocationCoordinate2D(33.4683, -111.682974);            //Hero's Sports Bar, Mesa AZ
 }
Ejemplo n.º 5
0
 public void ShowOnMap()
 {
     var mvc = new MapFlipViewController();
     mvc.Title = "Map";
     navigationController.PushViewController (mvc, true);
 }
 public MapViewController(MapFlipViewController mfvc)
     : base()
 {
     _mfvc = mfvc;
     MyLocation = new CLLocationCoordinate2D(33.4683,-111.682974); //Hero's Sports Bar, Mesa AZ
 }