public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
Navigate(typeof(HomeView));
}
private void Button_Click(object sender, RoutedEventArgs e)
{
Button btn = (Button)e.OriginalSource;
Navigate(btn.Tag as Type);
}
private void Navigate (Type viewType)
{
UserControl uc;
if (Views.ContainsKey(viewType))
{
uc = Views[viewType];
}
else
{
uc = (UserControl)Activator.CreateInstance(viewType);
Views[viewType] = uc;
}
NavigationParent.Content = uc;
}
private Dictionary<Type, UserControl> Views = new Dictionary<Type, UserControl>();
}
我收到如下错误 引发googlemaps.exceptions.HTTPError(response.status_code) googlemaps.exceptions.HTTPError:HTTP错误:404
有人遇到同样的问题吗?
答案 0 :(得分:1)
来自(an ancient copy of) the documentation on archive.org:
注意:自2018年6月30日起,雷达搜索已弃用。此后,该功能将不再可用。
雷达搜索不再可用。