修改连接界面,删除遥控,rtk,紧急按钮选型,只保留数据链,并且默认为数据链
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user