2025-02-07 09:16:22 +00:00
|
|
|
|
#include <QtCore/QString>
|
2025-02-09 18:16:07 +00:00
|
|
|
|
#include <gaodenormalprovider.h>
|
2025-02-07 09:16:22 +00:00
|
|
|
|
#pragma execution_character_set("utf-8")
|
|
|
|
|
|
|
|
|
|
namespace LAMPMainWidget {
|
|
|
|
|
|
2025-04-01 10:23:24 +00:00
|
|
|
|
GaodeNormalProvider::GaodeNormalProvider(QObject* parent)
|
|
|
|
|
: TmsProvider(parent) {
|
|
|
|
|
initCache();
|
|
|
|
|
}
|
2025-02-07 09:16:22 +00:00
|
|
|
|
|
2025-04-01 10:23:24 +00:00
|
|
|
|
QString
|
|
|
|
|
GaodeNormalProvider::tileUrl(const LAMPMainWidget::PointXY& pos, int zoom) const {
|
|
|
|
|
|
|
|
|
|
QString urlFmt = { R"(http://wprd01.is.autonavi.com/appmaptile?style=6&x=%1&y=%2&z=%3)" };
|
|
|
|
|
return QString(urlFmt).arg(pos.x()).arg(pos.y()).arg(zoom);
|
|
|
|
|
}
|
|
|
|
|
//http://wprd01.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=6
|
2025-02-07 09:16:22 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|