| | |
| | | { |
| | | 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); |
| | |
| | | { |
| | | //mGDMapViewController.MRadius = mRadius; |
| | | mGDMapViewController.SetmHomeCoordinate(mLatitude, mLongitude, mRadius); |
| | | Console.WriteLine("GDMapKitShow: " + mLongitude + "-" + mLatitude); |
| | | Shared.HDLUtils.WriteLine("GDMapKitShow: " + mLongitude + "-" + mLatitude); |
| | | } |
| | | |
| | | } |