Beispiel #1
0
		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
//			MainMap = new OverSightMap (new RectangleF (0, currentheight, rightPanelWidth, elementHeight), ancestor);
//			View.AddSubview (MainMap.View);
//			currentheight += elementHeight + buffer;

			clouds = AppDelegate.bl.GetWordCloudDictionary ();

			wordCloud = new WordCloudIOS (ancestor, clouds, new RectangleF (0, currentheight, rightPanelWidth, elementHeight * 1.5f));
			View.AddSubview (wordCloud.View);

			doubletap = new UITapGestureRecognizer (Share);
			doubletap.Delegate = new GestureDelegate ();
			doubletap.NumberOfTapsRequired = 2;
			wordCloud.View.AddGestureRecognizer (doubletap);
			wordCloud.View.UserInteractionEnabled = true;
			this.View.UserInteractionEnabled = true;


		}
Beispiel #2
0
		public override void ViewDidAppear (bool animated)
		{
			base.ViewDidAppear (animated);

			currentheight = 0;



			currentheight += elementHeight;

			if (clouds == null) {
				clouds = AppDelegate.bl.GetWordCloudDictionary ();
			}

			if (wordCloud == null) {
				wordCloud = new WordCloudIOS (ancestor, clouds, new RectangleF (0, currentheight, rightPanelWidth, elementHeight * 1.5f));
				View.AddSubview (wordCloud.View);
			}
		}