public MainPage()
		{
			// Define symbology path to Resources folder. This folder is included in the solution as a Content
			if (!ArcGISRuntimeEnvironment.IsInitialized)
				ArcGISRuntimeEnvironment.SymbolsPath = @"arcgisruntime" + GetRuntimeVersionNumber() + @"\resources\symbols";
		   
			this.InitializeComponent();
			
			_sampleDataVM = new SampleDataViewModel();
			SampleDataPanel.DataContext = _sampleDataVM;

			DataContext = SampleDataSource.Current;
	  
			CheckDeployment();
		}
Пример #2
0
        public MainPage()
        {
            // Define symbology path to Resources folder. This folder is included in the solution as a Content
            if (!ArcGISRuntimeEnvironment.IsInitialized)
            {
                ArcGISRuntimeEnvironment.SymbolsPath = @"arcgisruntime" + GetRuntimeVersionNumber() + @"\resources\symbols";
            }

            this.InitializeComponent();

            _sampleDataVM = new SampleDataViewModel();
            SampleDataPanel.DataContext = _sampleDataVM;

            DataContext = SampleDataSource.Current;

            CheckDeployment();
        }