diff --git a/References/AMap2DMapAndroidBinding.dll b/References/AMap2DMapAndroidBinding.dll new file mode 100644 index 0000000..31a50bf Binary files /dev/null and b/References/AMap2DMapAndroidBinding.dll differ diff --git a/Views/HomeView.xaml b/Views/HomeView.xaml index d59b491..c763d15 100644 --- a/Views/HomeView.xaml +++ b/Views/HomeView.xaml @@ -4,7 +4,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:viewmodels="clr-namespace:autosos_maui.ViewModels" x:DataType="viewmodels:HomeViewModel" - x:Class="autosos_maui.Views.HomeView"> + x:Class="autosos_maui.Views.HomeView" + xmlns:amap="clr-namespace:Com.Amap.Api.Maps2d;assembly=AMap2DMapAndroidBinding"> diff --git a/autosos-maui.csproj b/autosos-maui.csproj index c0e2f47..f27d034 100644 --- a/autosos-maui.csproj +++ b/autosos-maui.csproj @@ -70,4 +70,8 @@ ..\AMap2DMapAndroidBinding\bin\Debug\net8.0-android\AMap2DMapAndroidBinding.dll + + + +