Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 333 → Rev 334

/QMK-Groundstation/trunk/Forms/dlg_Map.cpp
23,9 → 23,14
setupUi(this);
 
// Kartenwahl ausschalten
lb_Maps->setVisible(false);
cb_Maps->setVisible(false);
//lb_Maps->setVisible(false);
//cb_Maps->setVisible(false);
 
cb_Maps->removeItem(5);
cb_Maps->removeItem(4);
cb_Maps->removeItem(3);
cb_Maps->removeItem(2);
 
// Noch nicht eingebaut also Button weg.
pb_SendWaypoints->setVisible(false);
 
213,29 → 218,30
o_Adapter = new OSMMapAdapter();
}
break;
case 1 : // Google Maps
case 1 : // Yahoo Sat
{
o_Adapter = new WMSMapAdapter("openaerialmap.org", "/wms/wms.asp?wms=WorldMap&LAYERS=world&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&TRANSPARENT=FALSE", 256);
}
break;
case 2 : // Google Maps
{
o_Adapter = new GoogleMapAdapter();
}
break;
case 2 : // Google Sat
case 3 : // Google Sat
{
o_Adapter = new GoogleSatMapAdapter();
}
break;
case 3 : // Yahoo Maps
case 4 : // Yahoo Maps
{
o_Adapter = new YahooMapAdapter();
}
break;
case 4 : // Yahoo Sat
case 5 : // Yahoo Sat
{
o_Adapter = new YahooMapAdapter("us.maps3.yimg.com", "/aerial.maps.yimg.com/png?v=1.7&t=a&s=256&x=%2&y=%3&z=%1");
}
case 5 : // Yahoo Sat
{
o_Adapter = new WMSMapAdapter("openaerialmap.org", "/wms/wms.asp?wms=WorldMap&LAYERS=world&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&TRANSPARENT=FALSE", 256);
}
break;
}