wxr
2020-06-15 b8e94316e41eba72d927d5ca7d931b26139ee8ff
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);
            }
        }