Skip to content

Commit

Permalink
Added another map source, with Svalbard topomap.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndKe authored and Arne-W committed Feb 21, 2023
1 parent 3ac48e5 commit 1fba2b8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libs/opmapcontrol/src/core/urlfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -498,21 +498,19 @@ namespace core {
break;
case MapType::Statkart_Topo:
{

return QString("http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo4&zoom=%1&x=%2&y=%3").arg(zoom).arg(pos.X()).arg(pos.Y());
}
break;
case MapType::Statkart_Basemap:
{

return QString("http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=norgeskart_bakgrunn&zoom=%1&x=%2&y=%3").arg(zoom).arg(pos.X()).arg(pos.Y());
}
break;
case MapType::Eniro_Topo:
{
return QString("http://map.eniro.com/geowebcache/service/tms1.0.0/map/%1/%2/%3.png").arg(zoom).arg(pos.X()).arg((1<<zoom)-1-pos.Y());
}
break;
{
return QString("http://map.eniro.com/geowebcache/service/tms1.0.0/map/%1/%2/%3.png").arg(zoom).arg(pos.X()).arg((1<<zoom)-1-pos.Y());
}
break;
case MapType::JapanMap:
{
//char letter = "abc"[GetServerNum(pos, 3)];
Expand Down

0 comments on commit 1fba2b8

Please sign in to comment.