修改连接界面,删除遥控,rtk,紧急按钮选型,只保留数据链,并且默认为数据链

This commit is contained in:
hm
2022-01-22 17:17:26 +08:00
parent 21f448b3ff
commit a00dd67cbd
5 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ QString UrlFactory::MakeImageUrl(const MapType::Types &type, const Point &pos, c
case MapType::BaiduSatellite:
{
QString key = TileXYToQuadKey(pos.X(), pos.Y(), zoom);
QString key = TileXYToQuadKey(pos.X(),pos.Y(), zoom);
return QString("https://maponline%1.bdimg.com/starpic/?qt=satepc&u=x=%2;y=%3;z=%4;v=009;type=sate&fm=46&app=webearth2&v=009&udt=20200623").arg(GetServerNum(pos, 4)).arg(pos.X()).arg(pos.Y()).arg(zoom);
//https://maponline0.bdimg.com/starpic/?qt=satepc&u=x=5;y=3;z=6;v=009;type=sate&fm=46&app=webearth2&v=009&udt=20200623
+4 -1
View File
@@ -112,7 +112,10 @@ void Core::run()
QByteArray img;
// tile number inversion(BottomLeft -> TopLeft) for pergo maps
if (tl == MapType::PergoTurkeyMap) {
if ((tl == MapType::PergoTurkeyMap) ||
(tl == MapType::BaiduMap) ||
(tl == MapType::BaiduSatellite))
{
img = OPMaps::Instance()->GetImageFrom(tl, Point(task.Pos.X(), maxOfTiles.Height() - task.Pos.Y()), task.Zoom);
} else { // ok
#ifdef DEBUG_CORE