private void CreateLayout()
{
// Create control to show the maps' loading status
_loadStatusTextView = new UITextView()
{
Frame = new CoreGraphics.CGRect(
0, yPageOffset, View.Bounds.Width, 40)
};
// Setup the visual frame for the MapView
_myMapView.Frame = new CoreGraphics.CGRect(
0, yPageOffset + 40, View.Bounds.Width, View.Bounds.Height - yPageOffset - 40);
// Add MapView to the page
View.AddSubviews(_myMapView, _loadStatusTextView);
}
}