| | |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.MainColor; |
| | | Shared.Application.LocationAction += (lon, lat) => |
| | | { |
| | | //GPS坐标转成高德坐标
|
| | | double out_lng, out_lat;
|
| | | HdlGpsLocationConvertLogic.Current.WGS84_to_GCJ02(lon, lat, out out_lng, out out_lat); |
| | | //上报经纬度 |
| | | Login.AccountLogic.Instance.ReceiveAppLatAndLon(lon.ToString(), lat.ToString()); |
| | | Login.AccountLogic.Instance.ReceiveAppLatAndLon(out_lng.ToString(), out_lat.ToString()); |
| | | }; |
| | | }
|
| | |
|
| | |
| | | if (Shared.Application.IsFullScreen == true)
|
| | | {
|
| | | //高版本的苹果机型,屏幕底部会有一个黑色的杠
|
| | | ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(242);
|
| | | ControlCommonResourse.BottomFrameHeight = Application.GetRealHeight(180);
|
| | | }
|
| | | #endif
|
| | | //用户主体界面(中间部分)
|