Esempio n. 1
0
 public MainPage()
 {
     this.InitializeComponent();
     _geolocator = new Geolocator();
     _locationIcon10m = new LocationIcon10m();
     _locationIcon100m = new LocationIcon100m();
     _currentLocationPin = new currentLocationPin();
     DataContext = _vm;
 }
Esempio n. 2
0
 public MainPage()
 {
     this.InitializeComponent();
     _geolocator         = new Geolocator();
     _locationIcon10m    = new LocationIcon10m();
     _locationIcon100m   = new LocationIcon100m();
     _currentLocationPin = new currentLocationPin();
     DataContext         = _vm;
 }
        public DetailMapPage()
        {
            this.InitializeComponent();

            DataContext = _vm;



            this.navigationHelper            = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;


            _geolocator         = new Geolocator();
            _locationIcon10m    = new LocationIcon10m();
            _locationIcon100m   = new LocationIcon100m();
            _locationIcon       = new MyLocationIcon();
            _currentLocationPin = new currentLocationPin();
            goToLocation();
        }
        public DetailMapPage()
        {
            this.InitializeComponent();

            DataContext = _vm;



            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;


            _geolocator = new Geolocator();
            _locationIcon10m = new LocationIcon10m();
            _locationIcon100m = new LocationIcon100m();
            _locationIcon = new MyLocationIcon();
            _currentLocationPin = new currentLocationPin();
            goToLocation();



        }