From b8e94316e41eba72d927d5ca7d931b26139ee8ff Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 15 六月 2020 09:12:53 +0800 Subject: [PATCH] 20200612 --- Shared.IOS/UI/GDMapView.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Shared.IOS/UI/GDMapView.cs b/Shared.IOS/UI/GDMapView.cs index 8baccf9..47b5d06 100644 --- a/Shared.IOS/UI/GDMapView.cs +++ b/Shared.IOS/UI/GDMapView.cs @@ -5,13 +5,15 @@ { public static class GDMapKit { - public static void Show(Action<double , double, int, string> action, string titleName = "", bool bSetHome = false, double mLatitude = 0.0, double mLongitude = 0.0, int mRadius = 500) + public static void Show(Action<double , double, int, string> action, string titleName = "", string saveName = "淇濆瓨", bool bSetHome = false, double mLatitude = 0.0, double mLongitude = 0.0, int mRadius = 500) { GDMapViewController mGDMapViewController = new GDMapViewController(); mGDMapViewController.TitleName = titleName; + mGDMapViewController.Gd_save = saveName; + mGDMapViewController.MSaveButtonCallBack += (mmLatitude, mmLongitude, mmRadius, addressName) => { action?.Invoke(mmLatitude, mmLongitude, mmRadius, addressName); @@ -25,7 +27,7 @@ { //mGDMapViewController.MRadius = mRadius; mGDMapViewController.SetmHomeCoordinate(mLatitude, mLongitude, mRadius); - Console.WriteLine("GDMapKitShow: " + mLongitude + "-" + mLatitude); + Shared.HDLUtils.WriteLine("GDMapKitShow: " + mLongitude + "-" + mLatitude); } } -- Gitblit v1.8.0