private void CreateLayout()
{
// Setup the visual frame for the MapView
_myMapView = new MapView()
{
Frame = new CoreGraphics.CGRect(0, 0, View.Bounds.Width, View.Bounds.Height)
};
// Add MapView to the page
View.AddSubviews(_myMapView);
}
}