Exemplo n.º 1
0
        private static void GetPermalinkLayers()
        {
            string layers;

            try { layers = HtmlPage.Document.QueryString["layers"]; }
            catch (KeyNotFoundException) { return; }

            if (!layers.Equals(""))
            {
                _layerlist = layers.Split(',');
                if (_layerlist.Length == 0)
                {
                    return;
                }

                imageRequest = new ImageRequests(Constants.BaseApiUrl);
                imageRequest.ImageRequestReceived += imageRequest_ImageRequestReceived;
                imageRequest.GetAllImagery(Current.Instance.Earthwatcher.PlayingRegion);
            }
        }
Exemplo n.º 2
0
 void TimeLineControl_Loaded(object sender, RoutedEventArgs e)
 {
     imageRequests.GetAllImagery(Current.Instance.Earthwatcher.PlayingRegion);
 }