Updated map source for Statkart
This commit is contained in:
committed by
Holden Ramsey
parent
64f5a7fe09
commit
17efdc57ff
@@ -33,7 +33,7 @@ QString LINZBasemapMapProvider::_getURL(int x, int y, int zoom) const
|
||||
|
||||
QString StatkartMapProvider::_getURL(int x, int y, int zoom) const
|
||||
{
|
||||
return _mapUrl.arg(_mapName).arg(zoom).arg(x).arg(y);
|
||||
return _mapUrl.arg(zoom).arg(y).arg(x);
|
||||
}
|
||||
|
||||
QString EniroMapProvider::_getURL(int x, int y, int zoom) const
|
||||
|
||||
@@ -127,7 +127,7 @@ private:
|
||||
QString _getURL(int x, int y, int zoom) const final;
|
||||
|
||||
const QString _mapTypeId;
|
||||
const QString _mapUrl = QStringLiteral("http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=%1&zoom=%2&x=%3&y=%4");
|
||||
const QString _mapUrl = QStringLiteral("https://cache.kartverket.no/v1/wmts/1.0.0/topo/default/webmercator/%1/%2/%3");
|
||||
};
|
||||
|
||||
class StatkartTopoMapProvider : public StatkartMapProvider
|
||||
|
||||
Reference in New Issue
Block a user